#787E1D#787E1D
#787E1D is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.116 H 113.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #787E1D |
|---|---|
| RGB | rgb(120, 126, 29) |
| HSL | hsl(64, 63%, 30%) |
| HSV | hsv(64, 77%, 49%) |
| CMYK | cmyk(4.8%, 0%, 77%, 50.6%) |
| CIE-LAB | lab(50.69, -14.71, 48.40) |
| CIE-LCH | lch(50.69, 50.59, 106.91°) |
| OKLab | oklab(56.99% -0.0455 0.1065) |
| OKLCH | oklch(56.99% 0.116 113.1) |
| XYZ | xyz(15.4288, 19.0038, 4.0175) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.36
Poop Green
#6F7C00
ΔE00 2.70
Murky Green
#6C7A0E
ΔE00 3.06
Olive
#808000
ΔE00 3.40
Olive (survey)
#6E750E
ΔE00 3.63
Swamp Green
#748500
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E1D #231D7E
analogous
#7E531D #787E1D #487E1D
triadic
#787E1D #1D787E #7E1D78
tetradic
#787E1D #1D7E53 #231D7E #7E1D48
square
#787E1D #1D7E53 #231D7E #7E1D48
split-complementary
#787E1D #1D487E #531D7E
monochromatic
#191B06 #494C12 #787E1D #A7B028 #CAD342
Accessibility & contrast
On white
4.37
#787E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#787E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E1D
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E1D | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887807
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#80766C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787e1d; /* rgb */ color: rgb(120, 126, 29); /* oklch */ color: oklch(57.0% 0.116 113.1);
Tailwind
colors: {
custom: {
50: '#a2a361',
500: '#787e1d',
950: '#000000',
},
}SCSS
$custom: #787e1d; $custom-light: #a2a361; $custom-dark: #000000;
JSON
{
"hex": "#787e1d",
"rgb": {
"r": 120,
"g": 126,
"b": 29
},
"hsl": {
"h": 63.711,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.56988,
"c": 0.11583,
"h": 113.1
},
"luminance": 0.19003
}Semantic roles & 50–950 ramp
primary
#787E1D
secondary
#4C45B1
accent
#42E64C
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A