#7F7A1E#7F7A1E
#7F7A1E is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.7% C 0.109 H 106.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7A1E |
|---|---|
| RGB | rgb(127, 122, 30) |
| HSL | hsl(57, 62%, 31%) |
| HSV | hsv(57, 76%, 50%) |
| CMYK | cmyk(0%, 3.9%, 76.4%, 50.2%) |
| CIE-LAB | lab(50.13, -9.26, 47.73) |
| CIE-LCH | lch(50.13, 48.62, 100.98°) |
| OKLab | oklab(56.69% -0.0306 0.105) |
| OKLCH | oklch(56.69% 0.109 106.2) |
| XYZ | xyz(15.9469, 18.5254, 3.9638) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.47
Ugly Brown
#7D7103
ΔE00 4.08
Olive (survey)
#6E750E
ΔE00 4.59
Shit Green
#758000
ΔE00 4.98
Poop Green
#6F7C00
ΔE00 5.29
Brown Green
#706C11
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7A1E #1E237F
analogous
#7F491E #7F7A1E #537F1E
triadic
#7F7A1E #1E7F7A #7A1E7F
tetradic
#7F7A1E #1E7F49 #1E237F #7F1E53
square
#7F7A1E #1E7F49 #1E237F #7F1E53
split-complementary
#7F7A1E #1E537F #491E7F
monochromatic
#1C1B07 #4D4A12 #7F7A1E #B1AA2A #D3CC44
Accessibility & contrast
On white
4.46
#7F7A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#7F7A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7A1E
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7A1E | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750B
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#897168
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f7a1e; /* rgb */ color: rgb(127, 122, 30); /* oklch */ color: oklch(56.7% 0.109 106.2);
Tailwind
colors: {
custom: {
50: '#a7a061',
500: '#7f7a1e',
950: '#000000',
},
}SCSS
$custom: #7f7a1e; $custom-light: #a7a061; $custom-dark: #000000;
JSON
{
"hex": "#7f7a1e",
"rgb": {
"r": 127,
"g": 122,
"b": 30
},
"hsl": {
"h": 56.907,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.56689,
"c": 0.10937,
"h": 106.2
},
"luminance": 0.18525
}Semantic roles & 50–950 ramp
primary
#7F7A1E
secondary
#474CB2
accent
#4BE543
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A