#787D1D#787D1D
#787D1D is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.115 H 112.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #787D1D |
|---|---|
| RGB | rgb(120, 125, 29) |
| HSL | hsl(63, 62%, 30%) |
| HSV | hsv(63, 77%, 49%) |
| CMYK | cmyk(4%, 0%, 76.8%, 51%) |
| CIE-LAB | lab(50.39, -14.18, 48.12) |
| CIE-LCH | lch(50.39, 50.17, 106.41°) |
| OKLab | oklab(56.75% -0.044 0.1059) |
| OKLCH | oklch(56.75% 0.115 112.6) |
| XYZ | xyz(15.3016, 18.7494, 3.9751) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.61
Poop Green
#6F7C00
ΔE00 2.78
Murky Green
#6C7A0E
ΔE00 3.07
Olive (survey)
#6E750E
ΔE00 3.35
Olive
#808000
ΔE00 3.42
Swamp Green
#748500
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787D1D #221D7D
analogous
#7D521D #787D1D #487D1D
triadic
#787D1D #1D787D #7D1D78
tetradic
#787D1D #1D7D52 #221D7D #7D1D48
square
#787D1D #1D7D52 #221D7D #7D1D48
split-complementary
#787D1D #1D487D #521D7D
monochromatic
#191A06 #484B11 #787D1D #A8AF29 #CBD341
Accessibility & contrast
On white
4.42
#787D1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#787D1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787D1D
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787D1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787D1D | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#81756B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787d1d; /* rgb */ color: rgb(120, 125, 29); /* oklch */ color: oklch(56.7% 0.115 112.6);
Tailwind
colors: {
custom: {
50: '#a2a261',
500: '#787d1d',
950: '#000000',
},
}SCSS
$custom: #787d1d; $custom-light: #a2a261; $custom-dark: #000000;
JSON
{
"hex": "#787d1d",
"rgb": {
"r": 120,
"g": 125,
"b": 29
},
"hsl": {
"h": 63.125,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.56749,
"c": 0.1147,
"h": 112.6
},
"luminance": 0.18749
}Semantic roles & 50–950 ramp
primary
#787D1D
secondary
#4B45B1
accent
#42E54B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F05
muted
#7F7E7A