#7D7D18#7D7D18
#7D7D18 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.116 H 109.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7D18 |
|---|---|
| RGB | rgb(125, 125, 24) |
| HSL | hsl(60, 68%, 29%) |
| HSV | hsv(60, 81%, 49%) |
| CMYK | cmyk(0%, 0%, 80.8%, 51%) |
| CIE-LAB | lab(50.80, -12.09, 50.33) |
| CIE-LCH | lch(50.80, 51.77, 103.51°) |
| OKLab | oklab(57.17% -0.0389 0.1095) |
| OKLCH | oklch(57.17% 0.116 109.6) |
| XYZ | xyz(15.9565, 19.0936, 3.7089) |
| Luminance | 0.1909 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.16
Shit Green
#758000
ΔE00 3.20
Poop Green
#6F7C00
ΔE00 3.85
Olive (survey)
#6E750E
ΔE00 4.19
Murky Green
#6C7A0E
ΔE00 4.48
Swamp Green
#748500
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7D18 #18187D
analogous
#7D4B18 #7D7D18 #4B7D18
triadic
#7D7D18 #187D7D #7D187D
tetradic
#7D7D18 #187D4B #18187D #7D184B
square
#7D7D18 #187D4B #18187D #7D184B
split-complementary
#7D7D18 #184B7D #4B187D
monochromatic
#1A1A05 #4A4A0E #7D7D18 #B0B022 #D9D937
Accessibility & contrast
On white
4.36
#7D7D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7D7D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7D18
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7D18 | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 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)
#887700
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d7d18; /* rgb */ color: rgb(125, 125, 24); /* oklch */ color: oklch(57.2% 0.116 109.6);
Tailwind
colors: {
custom: {
50: '#a6a25f',
500: '#7d7d18',
950: '#000000',
},
}SCSS
$custom: #7d7d18; $custom-light: #a6a25f; $custom-dark: #000000;
JSON
{
"hex": "#7d7d18",
"rgb": {
"r": 125,
"g": 125,
"b": 24
},
"hsl": {
"h": 60,
"s": 67.785,
"l": 29.216
},
"oklch": {
"l": 0.57169,
"c": 0.11617,
"h": 109.6
},
"luminance": 0.19093
}Semantic roles & 50–950 ramp
primary
#7D7D18
secondary
#3F3FB2
accent
#3DEB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79