#7F7D1E#7F7D1E
#7F7D1E is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.112 H 108.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7D1E |
|---|---|
| RGB | rgb(127, 125, 30) |
| HSL | hsl(59, 62%, 31%) |
| HSV | hsv(59, 76%, 50%) |
| CMYK | cmyk(0%, 1.6%, 76.4%, 50.2%) |
| CIE-LAB | lab(51.01, -10.91, 48.55) |
| CIE-LCH | lch(51.01, 49.76, 102.66°) |
| OKLab | oklab(57.39% -0.0352 0.1068) |
| OKLCH | oklch(57.39% 0.112 108.2) |
| XYZ | xyz(16.3210, 19.2735, 4.0885) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.59
Shit Green
#758000
ΔE00 3.94
Poop Green
#6F7C00
ΔE00 4.57
Olive (survey)
#6E750E
ΔE00 4.63
Murky Green
#6C7A0E
ΔE00 5.07
Ugly Brown
#7D7103
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7D1E #1E207F
analogous
#7F4C1E #7F7D1E #507F1E
triadic
#7F7D1E #1E7F7D #7D1E7F
tetradic
#7F7D1E #1E7F4C #1E207F #7F1E50
square
#7F7D1E #1E7F4C #1E207F #7F1E50
split-complementary
#7F7D1E #1E507F #4C1E7F
monochromatic
#1C1C07 #4D4C12 #7F7D1E #B1AE2A #D3D044
Accessibility & contrast
On white
4.33
#7F7D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7F7D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7D1E
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7D1E | 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)
#88780A
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#89746B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7d1e; /* rgb */ color: rgb(127, 125, 30); /* oklch */ color: oklch(57.4% 0.112 108.2);
Tailwind
colors: {
custom: {
50: '#a7a262',
500: '#7f7d1e',
950: '#000000',
},
}SCSS
$custom: #7f7d1e; $custom-light: #a7a262; $custom-dark: #000000;
JSON
{
"hex": "#7f7d1e",
"rgb": {
"r": 127,
"g": 125,
"b": 30
},
"hsl": {
"h": 58.763,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.57389,
"c": 0.11242,
"h": 108.2
},
"luminance": 0.19273
}Semantic roles & 50–950 ramp
primary
#7F7D1E
secondary
#4749B2
accent
#46E543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A