#7D7E14#7D7E14
#7D7E14 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.4% C 0.119 H 110.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7E14 |
|---|---|
| RGB | rgb(125, 126, 20) |
| HSL | hsl(61, 73%, 29%) |
| HSV | hsv(61, 84%, 49%) |
| CMYK | cmyk(0.8%, 0%, 84.1%, 50.6%) |
| CIE-LAB | lab(51.07, -12.78, 51.76) |
| CIE-LCH | lch(51.07, 53.32, 103.86°) |
| OKLab | oklab(57.39% -0.0411 0.1118) |
| OKLCH | oklch(57.39% 0.119 110.2) |
| XYZ | xyz(16.0452, 19.3327, 3.5481) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.69
Shit Green
#758000
ΔE00 2.79
Poop Green
#6F7C00
ΔE00 3.66
Olive (survey)
#6E750E
ΔE00 4.39
Murky Green
#6C7A0E
ΔE00 4.46
Swamp Green
#748500
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7E14 #15147E
analogous
#7E4A14 #7D7E14 #487E14
triadic
#7D7E14 #147D7E #7E147D
tetradic
#7D7E14 #147E4A #15147E #7E1448
square
#7D7E14 #147E4A #15147E #7E1448
split-complementary
#7D7E14 #14487E #4A147E
monochromatic
#1A1A04 #49490C #7D7E14 #B1B31C #DCDE2E
Accessibility & contrast
On white
4.32
#7D7E14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#7D7E14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7E14
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7E14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7E14 | 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)
#8A7B1E
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7d7e14; /* rgb */ color: rgb(125, 126, 20); /* oklch */ color: oklch(57.4% 0.119 110.2);
Tailwind
colors: {
custom: {
50: '#a6a35e',
500: '#7d7e14',
950: '#000000',
},
}SCSS
$custom: #7d7e14; $custom-light: #a6a35e; $custom-dark: #000000;
JSON
{
"hex": "#7d7e14",
"rgb": {
"r": 125,
"g": 126,
"b": 20
},
"hsl": {
"h": 60.566,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.57385,
"c": 0.11909,
"h": 110.2
},
"luminance": 0.19332
}Semantic roles & 50–950 ramp
primary
#7D7E14
secondary
#3C3AB3
accent
#38EF3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79