#787A1D#787A1D
#787A1D is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.111 H 110.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #787A1D |
|---|---|
| RGB | rgb(120, 122, 29) |
| HSL | hsl(61, 62%, 30%) |
| HSV | hsv(61, 76%, 48%) |
| CMYK | cmyk(1.6%, 0%, 76.2%, 52.2%) |
| CIE-LAB | lab(49.50, -12.55, 47.28) |
| CIE-LCH | lch(49.50, 48.92, 104.87°) |
| OKLab | oklab(56.03% -0.0395 0.1041) |
| OKLCH | oklch(56.03% 0.111 110.8) |
| XYZ | xyz(14.9276, 18.0013, 3.8504) |
| Luminance | 0.1800 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.80
Poop Green
#6F7C00
ΔE00 3.39
Murky Green
#6C7A0E
ΔE00 3.46
Shit Green
#758000
ΔE00 3.59
Olive
#808000
ΔE00 3.77
Olive Drab
#6F7632
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A1D #1F1D7A
analogous
#7A4D1D #787A1D #4A7A1D
triadic
#787A1D #1D787A #7A1D78
tetradic
#787A1D #1D7A4D #1F1D7A #7A1D4A
square
#787A1D #1D7A4D #1F1D7A #7A1D4A
split-complementary
#787A1D #1D4A7A #4D1D7A
monochromatic
#181906 #474911 #787A1D #A9AB29 #CED240
Accessibility & contrast
On white
4.57
#787A1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#787A1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A1D
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A1D | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847409
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#817268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a1d; /* rgb */ color: rgb(120, 122, 29); /* oklch */ color: oklch(56.0% 0.111 110.8);
Tailwind
colors: {
custom: {
50: '#a2a061',
500: '#787a1d',
950: '#000000',
},
}SCSS
$custom: #787a1d; $custom-light: #a2a061; $custom-dark: #000000;
JSON
{
"hex": "#787a1d",
"rgb": {
"r": 120,
"g": 122,
"b": 29
},
"hsl": {
"h": 61.29,
"s": 61.589,
"l": 29.608
},
"oklch": {
"l": 0.56033,
"c": 0.11137,
"h": 110.8
},
"luminance": 0.18001
}Semantic roles & 50–950 ramp
primary
#787A1D
secondary
#4745AE
accent
#43E547
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79