#7F7D16#7F7D16
#7F7D16 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.117 H 108.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7D16 |
|---|---|
| RGB | rgb(127, 125, 22) |
| HSL | hsl(59, 70%, 29%) |
| HSV | hsv(59, 83%, 50%) |
| CMYK | cmyk(0%, 1.6%, 82.7%, 50.2%) |
| CIE-LAB | lab(50.96, -11.24, 51.16) |
| CIE-LCH | lch(50.96, 52.38, 102.39°) |
| OKLab | oklab(57.34% -0.0368 0.1108) |
| OKLCH | oklch(57.34% 0.117 108.4) |
| XYZ | xyz(16.2315, 19.2377, 3.6171) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.90
Shit Green
#758000
ΔE00 3.67
Poop Green
#6F7C00
ΔE00 4.42
Olive (survey)
#6E750E
ΔE00 4.66
Ugly Brown
#7D7103
ΔE00 5.09
Murky Green
#6C7A0E
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7D16 #16187F
analogous
#7F4916 #7F7D16 #4D7F16
triadic
#7F7D16 #167F7D #7D167F
tetradic
#7F7D16 #167F49 #16187F #7F164D
square
#7F7D16 #167F49 #16187F #7F164D
split-complementary
#7F7D16 #164D7F #49167F
monochromatic
#1A1A05 #4B4A0D #7F7D16 #B3B01F #DCD934
Accessibility & contrast
On white
4.33
#7F7D16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7F7D16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7D16
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7D16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7D16 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B20
Tritanopia (blue-blind)
#89746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7d16; /* rgb */ color: rgb(127, 125, 22); /* oklch */ color: oklch(57.3% 0.117 108.4);
Tailwind
colors: {
custom: {
50: '#a8a25e',
500: '#7f7d16',
950: '#000000',
},
}SCSS
$custom: #7f7d16; $custom-light: #a8a25e; $custom-dark: #000000;
JSON
{
"hex": "#7f7d16",
"rgb": {
"r": 127,
"g": 125,
"b": 22
},
"hsl": {
"h": 58.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.57343,
"c": 0.11671,
"h": 108.4
},
"luminance": 0.19237
}Semantic roles & 50–950 ramp
primary
#7F7D16
secondary
#3D3FB4
accent
#3EED3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79