#7D7D1D#7D7D1D
#7D7D1D is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.113 H 109.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7D1D |
|---|---|
| RGB | rgb(125, 125, 29) |
| HSL | hsl(60, 62%, 30%) |
| HSV | hsv(60, 77%, 49%) |
| CMYK | cmyk(0%, 0%, 76.8%, 51%) |
| CIE-LAB | lab(50.82, -11.88, 48.68) |
| CIE-LCH | lch(50.82, 50.11, 103.71°) |
| OKLab | oklab(57.2% -0.0379 0.1069) |
| OKLCH | oklch(57.2% 0.113 109.5) |
| XYZ | xyz(16.0134, 19.1164, 4.0085) |
| Luminance | 0.1912 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.60
Shit Green
#758000
ΔE00 3.42
Poop Green
#6F7C00
ΔE00 3.98
Olive (survey)
#6E750E
ΔE00 4.18
Murky Green
#6C7A0E
ΔE00 4.47
Swamp Green
#748500
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7D1D #1D1D7D
analogous
#7D4D1D #7D7D1D #4D7D1D
triadic
#7D7D1D #1D7D7D #7D1D7D
tetradic
#7D7D1D #1D7D4D #1D1D7D #7D1D4D
square
#7D7D1D #1D7D4D #1D1D7D #7D1D4D
split-complementary
#7D7D1D #1D4D7D #4D1D7D
monochromatic
#1A1A06 #4B4B11 #7D7D1D #AFAF29 #D3D341
Accessibility & contrast
On white
4.35
#7D7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7D7D1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7D1D
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7D1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7D1D | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887707
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d7d1d; /* rgb */ color: rgb(125, 125, 29); /* oklch */ color: oklch(57.2% 0.113 109.5);
Tailwind
colors: {
custom: {
50: '#a6a261',
500: '#7d7d1d',
950: '#000000',
},
}SCSS
$custom: #7d7d1d; $custom-light: #a6a261; $custom-dark: #000000;
JSON
{
"hex": "#7d7d1d",
"rgb": {
"r": 125,
"g": 125,
"b": 29
},
"hsl": {
"h": 60,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.57199,
"c": 0.11342,
"h": 109.5
},
"luminance": 0.19116
}Semantic roles & 50–950 ramp
primary
#7D7D1D
secondary
#4545B1
accent
#42E542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A