#7F7E12#7F7E12
#7F7E12 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.6% C 0.119 H 109.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7E12 |
|---|---|
| RGB | rgb(127, 126, 18) |
| HSL | hsl(59, 75%, 28%) |
| HSV | hsv(59, 86%, 50%) |
| CMYK | cmyk(0%, 0.8%, 85.8%, 50.2%) |
| CIE-LAB | lab(51.24, -11.91, 52.51) |
| CIE-LCH | lch(51.24, 53.85, 102.78°) |
| OKLab | oklab(57.56% -0.039 0.1129) |
| OKLCH | oklch(57.56% 0.119 109.1) |
| XYZ | xyz(16.3231, 19.4779, 3.4719) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.37
Shit Green
#758000
ΔE00 3.31
Poop Green
#6F7C00
ΔE00 4.24
Olive (survey)
#6E750E
ΔE00 4.83
Swamp Green
#748500
ΔE00 4.94
Murky Green
#6C7A0E
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7E12 #12137F
analogous
#7F4712 #7F7E12 #497F12
triadic
#7F7E12 #127F7E #7E127F
tetradic
#7F7E12 #127F47 #12137F #7F1249
square
#7F7E12 #127F47 #12137F #7F1249
split-complementary
#7F7E12 #12497F #47127F
monochromatic
#1B1B04 #49490A #7F7E12 #B5B31A #E1DF2B
Accessibility & contrast
On white
4.29
#7F7E12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7F7E12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7E12
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7E12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7E12 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7C1D
Tritanopia (blue-blind)
#89756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7f7e12; /* rgb */ color: rgb(127, 126, 18); /* oklch */ color: oklch(57.6% 0.119 109.1);
Tailwind
colors: {
custom: {
50: '#a8a35d',
500: '#7f7e12',
950: '#000000',
},
}SCSS
$custom: #7f7e12; $custom-light: #a8a35d; $custom-dark: #000000;
JSON
{
"hex": "#7f7e12",
"rgb": {
"r": 127,
"g": 126,
"b": 18
},
"hsl": {
"h": 59.45,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.57559,
"c": 0.11945,
"h": 109.1
},
"luminance": 0.19477
}Semantic roles & 50–950 ramp
primary
#7F7E12
secondary
#3839B5
accent
#38F236
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79