#7D7D22#7D7D22
#7D7D22 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.110 H 109.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7D7D22 |
|---|---|
| RGB | rgb(125, 125, 34) |
| HSL | hsl(60, 57%, 31%) |
| HSV | hsv(60, 73%, 49%) |
| CMYK | cmyk(0%, 0%, 72.8%, 51%) |
| CIE-LAB | lab(50.85, -11.63, 46.84) |
| CIE-LCH | lch(50.85, 48.26, 103.94°) |
| OKLab | oklab(57.23% -0.0367 0.104) |
| OKLCH | oklch(57.23% 0.11 109.4) |
| XYZ | xyz(16.0804, 19.1432, 4.3610) |
| Luminance | 0.1914 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.14
Shit Green
#758000
ΔE00 3.75
Poop Green
#6F7C00
ΔE00 4.21
Olive (survey)
#6E750E
ΔE00 4.25
Murky Green
#6C7A0E
ΔE00 4.53
Swamp Green
#748500
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D7D22 #22227D
analogous
#7D4F22 #7D7D22 #4F7D22
triadic
#7D7D22 #227D7D #7D227D
tetradic
#7D7D22 #227D4F #22227D #7D224F
square
#7D7D22 #227D4F #22227D #7D224F
split-complementary
#7D7D22 #224F7D #4F227D
monochromatic
#1D1D08 #4D4D15 #7D7D22 #ADAD2F #CECE4B
Accessibility & contrast
On white
4.35
#7D7D22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#7D7D22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D7D22
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D7D22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D7D22 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877812
Deuteranopia (green-blind)
#897A29
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d7d22; /* rgb */ color: rgb(125, 125, 34); /* oklch */ color: oklch(57.2% 0.110 109.4);
Tailwind
colors: {
custom: {
50: '#a6a264',
500: '#7d7d22',
950: '#000000',
},
}SCSS
$custom: #7d7d22; $custom-light: #a6a264; $custom-dark: #000000;
JSON
{
"hex": "#7d7d22",
"rgb": {
"r": 125,
"g": 125,
"b": 34
},
"hsl": {
"h": 60,
"s": 57.233,
"l": 31.176
},
"oklch": {
"l": 0.57234,
"c": 0.11026,
"h": 109.4
},
"luminance": 0.19143
}Semantic roles & 50–950 ramp
primary
#7D7D22
secondary
#4B4BB0
accent
#47E047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A