#838C52 color
The hex color #838C52 is a desaturated yellow.
In the RGB color model it is made of 51.4% red, 54.9% green and 32.2% blue (131, 140, 82).
Its hue angle is 69°, with 26% saturation and 44% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 41% yellow and 45% black.
The closest named color is Green Olive (#8D8B55), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.84:1).
#838C52 color codes
| HEX | #838C52 | |
|---|---|---|
| RGB | rgb(131, 140, 82) | |
| RGB percent | rgb(51.4%, 54.9%, 32.2%) | |
| HSL | hsl(69, 26%, 44%) | |
| HSV / HSB | hsv(69, 41%, 55%) | |
| CMYK | cmyk(6%, 0%, 41%, 45%) | |
| CIE LAB | lab(56.28, -12.86, 29.85) | |
| CIE LCH | lch(56.28, 32.5, 113.31) | |
| CIE XYZ | xyz(20.261, 24.191, 11.583) | |
| Decimal | 8621138 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #838C52, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #838C52 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.84:1 | Pass | Fail | Pass |
| Sample text | 3.6:1 | Fail | Fail | Pass |
| #838C52 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.6:1 | Fail | Fail | Pass |
| Sample text | 5.84:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #838C52 looks to people with the most common types of color vision deficiency.
#93874eProtanopia
no red cones#938755Deuteranopia
no green cones#89867eTritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #838c52; }
.text { color: #838c52; }
.border { border: 2px solid #838c52; }
.transparent { background-color: rgb(131 140 82 / 50%); }
.gradient { background: linear-gradient(to right, #838c52, #668c52); }
Similar colors
#8d8b55Green Olive#878757Iguana#888844Overgrown Citadel#77824aGrasshopper#768b59Moss Gardens#909853Totally Broccoli#8a9a5bMoss Green#8c8e65Paid in Full
Questions
- What color is #838C52?
- #838C52 is a desaturated yellow, closest to the named color Green Olive. It belongs to the green family of colors.
- What is the RGB value of #838C52?
- The RGB value is 131, 140, 82: 131 red, 140 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #838C52?
- The complementary color is #5B528C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #838C52?
- Black text. Black text has a contrast ratio of 5.84:1 and white text 3.6:1. WCAG asks for at least 4.5:1 for normal text.