#7C852B#7C852B
#7C852B is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.1% C 0.113 H 114.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7C852B |
|---|---|
| RGB | rgb(124, 133, 43) |
| HSL | hsl(66, 51%, 35%) |
| HSV | hsv(66, 68%, 52%) |
| CMYK | cmyk(6.8%, 0%, 67.7%, 47.8%) |
| CIE-LAB | lab(53.21, -15.84, 45.47) |
| CIE-LCH | lch(53.21, 48.15, 109.20°) |
| OKLab | oklab(59.11% -0.0474 0.1027) |
| OKLCH | oklch(59.11% 0.113 114.8) |
| XYZ | xyz(17.1362, 21.2348, 5.4811) |
| Luminance | 0.2124 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 3.71
Shit Green
#758000
ΔE00 3.82
Khaki Green
#728639
ΔE00 4.13
Drab
#828344
ΔE00 4.70
Poop Green
#6F7C00
ΔE00 4.77
Olive
#808000
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C852B #342B85
analogous
#85612B #7C852B #4F852B
triadic
#7C852B #2B7C85 #852B7C
tetradic
#7C852B #2B8561 #342B85 #852B4F
square
#7C852B #2B8561 #342B85 #852B4F
split-complementary
#7C852B #2B4F85 #612B85
monochromatic
#26290D #51571C #7C852B #A7B33A #C0CB5F
Accessibility & contrast
On white
4.00
#7C852B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#7C852B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C852B
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C852B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C852B | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E1F
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#847D73
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #7c852b; /* rgb */ color: rgb(124, 133, 43); /* oklch */ color: oklch(59.1% 0.113 114.8);
Tailwind
colors: {
custom: {
50: '#a4a86a',
500: '#7c852b',
950: '#000000',
},
}SCSS
$custom: #7c852b; $custom-light: #a4a86a; $custom-dark: #000000;
JSON
{
"hex": "#7c852b",
"rgb": {
"r": 124,
"g": 133,
"b": 43
},
"hsl": {
"h": 66,
"s": 51.136,
"l": 34.51
},
"oklch": {
"l": 0.59115,
"c": 0.11314,
"h": 114.8
},
"luminance": 0.21235
}Semantic roles & 50–950 ramp
primary
#7C852B
secondary
#635BB1
accent
#4DDB5B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A