#787A20#787A20
#787A20 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.109 H 110.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #787A20 |
|---|---|
| RGB | rgb(120, 122, 32) |
| HSL | hsl(61, 58%, 30%) |
| HSV | hsv(61, 74%, 48%) |
| CMYK | cmyk(1.6%, 0%, 73.8%, 52.2%) |
| CIE-LAB | lab(49.52, -12.40, 46.17) |
| CIE-LCH | lch(49.52, 47.80, 105.03°) |
| OKLab | oklab(56.05% -0.0387 0.1024) |
| OKLCH | oklch(56.05% 0.109 110.7) |
| XYZ | xyz(14.9665, 18.0168, 4.0554) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.90
Murky Green
#6C7A0E
ΔE00 3.54
Poop Green
#6F7C00
ΔE00 3.58
Shit Green
#758000
ΔE00 3.81
Olive
#808000
ΔE00 4.05
Olive Drab
#6F7632
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A20 #22207A
analogous
#7A4F20 #787A20 #4B7A20
triadic
#787A20 #20787A #7A2078
tetradic
#787A20 #207A4F #22207A #7A204B
square
#787A20 #207A4F #22207A #7A204B
split-complementary
#787A20 #204B7A #4F207A
monochromatic
#191907 #484A13 #787A20 #A8AA2D #CBCE46
Accessibility & contrast
On white
4.56
#787A20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#787A20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A20
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A20 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 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)
#847410
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#817268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a20; /* rgb */ color: rgb(120, 122, 32); /* oklch */ color: oklch(56.1% 0.109 110.7);
Tailwind
colors: {
custom: {
50: '#a2a062',
500: '#787a20',
950: '#000000',
},
}SCSS
$custom: #787a20; $custom-light: #a2a062; $custom-dark: #000000;
JSON
{
"hex": "#787a20",
"rgb": {
"r": 120,
"g": 122,
"b": 32
},
"hsl": {
"h": 61.333,
"s": 58.442,
"l": 30.196
},
"oklch": {
"l": 0.56054,
"c": 0.10945,
"h": 110.7
},
"luminance": 0.18016
}Semantic roles & 50–950 ramp
primary
#787A20
secondary
#4B49AD
accent
#46E24A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A