#7C7B2B#7C7B2B
#7C7B2B is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.7% C 0.101 H 108.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7B2B |
|---|---|
| RGB | rgb(124, 123, 43) |
| HSL | hsl(59, 49%, 33%) |
| HSV | hsv(59, 65%, 49%) |
| CMYK | cmyk(0%, 0.8%, 65.3%, 51.4%) |
| CIE-LAB | lab(50.25, -10.44, 42.38) |
| CIE-LCH | lch(50.25, 43.65, 103.84°) |
| OKLab | oklab(56.75% -0.0323 0.0962) |
| OKLCH | oklch(56.75% 0.101 108.6) |
| XYZ | xyz(15.8317, 18.6259, 5.0462) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 4.29
Olive (survey)
#6E750E
ΔE00 4.39
Drab
#828344
ΔE00 4.53
Olive
#808000
ΔE00 4.72
Murky Green
#6C7A0E
ΔE00 4.99
Shit Green
#758000
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7B2B #2B2C7C
analogous
#7C522B #7C7B2B #557C2B
triadic
#7C7B2B #2B7C7B #7B2B7C
tetradic
#7C7B2B #2B7C52 #2B2C7C #7C2B55
square
#7C7B2B #2B7C52 #2B2C7C #7C2B55
split-complementary
#7C7B2B #2B557C #522B7C
monochromatic
#21210B #4F4E1B #7C7B2B #A9A83B #C6C55B
Accessibility & contrast
On white
4.44
#7C7B2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7C7B2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7B2B
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7B2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7B2B | 1.00 | 4.44 | 4.72 | 4.72 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857621
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#85736A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c7b2b; /* rgb */ color: rgb(124, 123, 43); /* oklch */ color: oklch(56.7% 0.101 108.6);
Tailwind
colors: {
custom: {
50: '#a4a169',
500: '#7c7b2b',
950: '#000000',
},
}SCSS
$custom: #7c7b2b; $custom-light: #a4a169; $custom-dark: #000000;
JSON
{
"hex": "#7c7b2b",
"rgb": {
"r": 124,
"g": 123,
"b": 43
},
"hsl": {
"h": 59.259,
"s": 48.503,
"l": 32.745
},
"oklch": {
"l": 0.56749,
"c": 0.10145,
"h": 108.6
},
"luminance": 0.18625
}Semantic roles & 50–950 ramp
primary
#7C7B2B
secondary
#5758AC
accent
#51D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A