#7F7D1A#7F7D1A
#7F7D1A is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.115 H 108.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7D1A |
|---|---|
| RGB | rgb(127, 125, 26) |
| HSL | hsl(59, 66%, 30%) |
| HSV | hsv(59, 80%, 50%) |
| CMYK | cmyk(0%, 1.6%, 79.5%, 50.2%) |
| CIE-LAB | lab(50.98, -11.08, 49.92) |
| CIE-LCH | lch(50.98, 51.14, 102.52°) |
| OKLab | oklab(57.37% -0.036 0.1089) |
| OKLCH | oklch(57.37% 0.115 108.3) |
| XYZ | xyz(16.2731, 19.2544, 3.8363) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.21
Shit Green
#758000
ΔE00 3.77
Poop Green
#6F7C00
ΔE00 4.47
Olive (survey)
#6E750E
ΔE00 4.63
Murky Green
#6C7A0E
ΔE00 5.07
Ugly Brown
#7D7103
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7D1A #1A1C7F
analogous
#7F4B1A #7F7D1A #4E7F1A
triadic
#7F7D1A #1A7F7D #7D1A7F
tetradic
#7F7D1A #1A7F4B #1A1C7F #7F1A4E
square
#7F7D1A #1A7F4B #1A1C7F #7F1A4E
split-complementary
#7F7D1A #1A4E7F #4B1A7F
monochromatic
#191905 #4C4B10 #7F7D1A #B2AF24 #D7D43C
Accessibility & contrast
On white
4.33
#7F7D1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7F7D1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7D1A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7D1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7D1A | 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)
#887801
Deuteranopia (green-blind)
#897B22
Tritanopia (blue-blind)
#89746B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7d1a; /* rgb */ color: rgb(127, 125, 26); /* oklch */ color: oklch(57.4% 0.115 108.3);
Tailwind
colors: {
custom: {
50: '#a7a260',
500: '#7f7d1a',
950: '#000000',
},
}SCSS
$custom: #7f7d1a; $custom-light: #a7a260; $custom-dark: #000000;
JSON
{
"hex": "#7f7d1a",
"rgb": {
"r": 127,
"g": 125,
"b": 26
},
"hsl": {
"h": 58.812,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.57365,
"c": 0.1147,
"h": 108.3
},
"luminance": 0.19254
}Semantic roles & 50–950 ramp
primary
#7F7D1A
secondary
#4244B3
accent
#42E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79