#7D7C1E#7D7C1E
#7D7C1E is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.112 H 108.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7C1E |
|---|---|
| RGB | rgb(125, 124, 30) |
| HSL | hsl(59, 61%, 30%) |
| HSV | hsv(59, 76%, 49%) |
| CMYK | cmyk(0%, 0.8%, 76%, 51%) |
| CIE-LAB | lab(50.53, -11.28, 48.05) |
| CIE-LCH | lch(50.53, 49.35, 103.22°) |
| OKLab | oklab(56.97% -0.0361 0.1058) |
| OKLCH | oklch(56.97% 0.112 108.9) |
| XYZ | xyz(15.9000, 18.8695, 4.0327) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.90
Shit Green
#758000
ΔE00 3.80
Olive (survey)
#6E750E
ΔE00 4.08
Poop Green
#6F7C00
ΔE00 4.21
Murky Green
#6C7A0E
ΔE00 4.61
Ugly Brown
#7D7103
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7C1E #1E1F7D
analogous
#7D4C1E #7D7C1E #4F7D1E
triadic
#7D7C1E #1E7D7C #7C1E7D
tetradic
#7D7C1E #1E7D4C #1E1F7D #7D1E4F
square
#7D7C1E #1E7D4C #1E1F7D #7D1E4F
split-complementary
#7D7C1E #1E4F7D #4C1E7D
monochromatic
#1A1A06 #4C4B12 #7D7C1E #AEAD2A #D2D043
Accessibility & contrast
On white
4.40
#7D7C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#7D7C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7C1E
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7C1E | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770A
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d7c1e; /* rgb */ color: rgb(125, 124, 30); /* oklch */ color: oklch(57.0% 0.112 108.9);
Tailwind
colors: {
custom: {
50: '#a6a162',
500: '#7d7c1e',
950: '#000000',
},
}SCSS
$custom: #7d7c1e; $custom-light: #a6a162; $custom-dark: #000000;
JSON
{
"hex": "#7d7c1e",
"rgb": {
"r": 125,
"g": 124,
"b": 30
},
"hsl": {
"h": 59.368,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.5697,
"c": 0.11177,
"h": 108.9
},
"luminance": 0.18869
}Semantic roles & 50–950 ramp
primary
#7D7C1E
secondary
#4648B0
accent
#45E443
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A