#7E7F1E#7E7F1E
#7E7F1E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.115 H 110.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7E7F1E |
|---|---|
| RGB | rgb(126, 127, 30) |
| HSL | hsl(61, 62%, 31%) |
| HSV | hsv(61, 76%, 50%) |
| CMYK | cmyk(0.8%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(51.51, -12.45, 48.99) |
| CIE-LCH | lch(51.51, 50.55, 104.26°) |
| OKLab | oklab(57.77% -0.0394 0.1077) |
| OKLCH | oklch(57.77% 0.115 110.1) |
| XYZ | xyz(16.4285, 19.7086, 4.1668) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.38
Shit Green
#758000
ΔE00 3.15
Poop Green
#6F7C00
ΔE00 4.02
Swamp Green
#748500
ΔE00 4.57
Murky Green
#6C7A0E
ΔE00 4.62
Olive (survey)
#6E750E
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E7F1E #1F1E7F
analogous
#7F4F1E #7E7F1E #4D7F1E
triadic
#7E7F1E #1E7E7F #7F1E7E
tetradic
#7E7F1E #1E7F4F #1F1E7F #7F1E4D
square
#7E7F1E #1E7F4F #1F1E7F #7F1E4D
split-complementary
#7E7F1E #1E4D7F #4F1E7F
monochromatic
#1C1C07 #4D4D12 #7E7F1E #AFB12A #D1D344
Accessibility & contrast
On white
4.25
#7E7F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#7E7F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E7F1E
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E7F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E7F1E | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7909
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#87776D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e7f1e; /* rgb */ color: rgb(126, 127, 30); /* oklch */ color: oklch(57.8% 0.115 110.1);
Tailwind
colors: {
custom: {
50: '#a7a362',
500: '#7e7f1e',
950: '#000000',
},
}SCSS
$custom: #7e7f1e; $custom-light: #a7a362; $custom-dark: #000000;
JSON
{
"hex": "#7e7f1e",
"rgb": {
"r": 126,
"g": 127,
"b": 30
},
"hsl": {
"h": 60.619,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.57768,
"c": 0.11473,
"h": 110.1
},
"luminance": 0.19708
}Semantic roles & 50–950 ramp
primary
#7E7F1E
secondary
#4847B2
accent
#43E545
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F05
muted
#7F7F7A