#7D7E12#7D7E12
#7D7E12 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.120 H 110.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7E12 |
|---|---|
| RGB | rgb(125, 126, 18) |
| HSL | hsl(61, 75%, 28%) |
| HSV | hsv(61, 86%, 49%) |
| CMYK | cmyk(0.8%, 0%, 85.7%, 50.6%) |
| CIE-LAB | lab(51.07, -12.84, 52.29) |
| CIE-LCH | lch(51.07, 53.85, 103.79°) |
| OKLab | oklab(57.38% -0.0415 0.1125) |
| OKLCH | oklch(57.38% 0.12 110.2) |
| XYZ | xyz(16.0281, 19.3258, 3.4581) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.56
Shit Green
#758000
ΔE00 2.75
Poop Green
#6F7C00
ΔE00 3.65
Olive (survey)
#6E750E
ΔE00 4.42
Swamp Green
#748500
ΔE00 4.45
Murky Green
#6C7A0E
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7E12 #13127E
analogous
#7E4912 #7D7E12 #477E12
triadic
#7D7E12 #127D7E #7E127D
tetradic
#7D7E12 #127E49 #13127E #7E1247
square
#7D7E12 #127E49 #13127E #7E1247
split-complementary
#7D7E12 #12477E #49127E
monochromatic
#1B1B04 #48480A #7D7E12 #B2B41A #DFE12A
Accessibility & contrast
On white
4.32
#7D7E12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#7D7E12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7E12
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7E12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7E12 | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B1D
Tritanopia (blue-blind)
#87756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7e12; /* rgb */ color: rgb(125, 126, 18); /* oklch */ color: oklch(57.4% 0.120 110.2);
Tailwind
colors: {
custom: {
50: '#a6a35d',
500: '#7d7e12',
950: '#000000',
},
}SCSS
$custom: #7d7e12; $custom-light: #a6a35d; $custom-dark: #000000;
JSON
{
"hex": "#7d7e12",
"rgb": {
"r": 125,
"g": 126,
"b": 18
},
"hsl": {
"h": 60.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.57376,
"c": 0.11993,
"h": 110.2
},
"luminance": 0.19325
}Semantic roles & 50–950 ramp
primary
#7D7E12
secondary
#3938B4
accent
#36F238
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79