#7F7D2A#7F7D2A
#7F7D2A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.5% C 0.104 H 107.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7D2A |
|---|---|
| RGB | rgb(127, 125, 42) |
| HSL | hsl(59, 50%, 33%) |
| HSV | hsv(59, 67%, 50%) |
| CMYK | cmyk(0%, 1.6%, 66.9%, 50.2%) |
| CIE-LAB | lab(51.09, -10.23, 43.79) |
| CIE-LCH | lch(51.09, 44.97, 103.15°) |
| OKLab | oklab(57.48% -0.032 0.0989) |
| OKLCH | oklch(57.48% 0.104 107.9) |
| XYZ | xyz(16.5045, 19.3469, 5.0550) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.04
Drab
#828344
ΔE00 4.45
Shit Green
#758000
ΔE00 4.84
Olive (survey)
#6E750E
ΔE00 4.97
Olive Drab
#6F7632
ΔE00 5.25
Poop Green
#6F7C00
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7D2A #2A2C7F
analogous
#7F522A #7F7D2A #567F2A
triadic
#7F7D2A #2A7F7D #7D2A7F
tetradic
#7F7D2A #2A7F52 #2A2C7F #7F2A56
square
#7F7D2A #2A7F52 #2A2C7F #7F2A56
split-complementary
#7F7D2A #2A567F #522A7F
monochromatic
#23220C #51501B #7F7D2A #ADAA39 #C9C65B
Accessibility & contrast
On white
4.31
#7F7D2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#7F7D2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7D2A
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7D2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7D2A | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#88756C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7f7d2a; /* rgb */ color: rgb(127, 125, 42); /* oklch */ color: oklch(57.5% 0.104 107.9);
Tailwind
colors: {
custom: {
50: '#a7a268',
500: '#7f7d2a',
950: '#000000',
},
}SCSS
$custom: #7f7d2a; $custom-light: #a7a268; $custom-dark: #000000;
JSON
{
"hex": "#7f7d2a",
"rgb": {
"r": 127,
"g": 125,
"b": 42
},
"hsl": {
"h": 58.588,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.57484,
"c": 0.10396,
"h": 107.9
},
"luminance": 0.19346
}Semantic roles & 50–950 ramp
primary
#7F7D2A
secondary
#5759AE
accent
#51DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A