#7F7F1E#7F7F1E
#7F7F1E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 57.9% C 0.115 H 109.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7F1E |
|---|---|
| RGB | rgb(127, 127, 30) |
| HSL | hsl(60, 62%, 31%) |
| HSV | hsv(60, 76%, 50%) |
| CMYK | cmyk(0%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(51.59, -12.00, 49.11) |
| CIE-LCH | lch(51.59, 50.55, 103.73°) |
| OKLab | oklab(57.86% -0.0382 0.1079) |
| OKLCH | oklch(57.86% 0.115 109.5) |
| XYZ | xyz(16.5767, 19.7850, 4.1737) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.28
Shit Green
#758000
ΔE00 3.39
Poop Green
#6F7C00
ΔE00 4.28
Swamp Green
#748500
ΔE00 4.80
Olive (survey)
#6E750E
ΔE00 4.87
Murky Green
#6C7A0E
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7F1E #1E1E7F
analogous
#7F4E1E #7F7F1E #4E7F1E
triadic
#7F7F1E #1E7F7F #7F1E7F
tetradic
#7F7F1E #1E7F4E #1E1E7F #7F1E4E
square
#7F7F1E #1E7F4E #1E1E7F #7F1E4E
split-complementary
#7F7F1E #1E4E7F #4E1E7F
monochromatic
#1C1C07 #4D4D12 #7F7F1E #B1B12A #D3D344
Accessibility & contrast
On white
4.24
#7F7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#7F7F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7F1E
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7F1E | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7909
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#88776D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7f7f1e; /* rgb */ color: rgb(127, 127, 30); /* oklch */ color: oklch(57.9% 0.115 109.5);
Tailwind
colors: {
custom: {
50: '#a7a362',
500: '#7f7f1e',
950: '#000000',
},
}SCSS
$custom: #7f7f1e; $custom-light: #a7a362; $custom-dark: #000000;
JSON
{
"hex": "#7f7f1e",
"rgb": {
"r": 127,
"g": 127,
"b": 30
},
"hsl": {
"h": 60,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.57858,
"c": 0.1145,
"h": 109.5
},
"luminance": 0.19785
}Semantic roles & 50–950 ramp
primary
#7F7F1E
secondary
#4747B2
accent
#43E543
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A