#787A1E#787A1E
#787A1E 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 | #787A1E |
|---|---|
| RGB | rgb(120, 122, 30) |
| HSL | hsl(61, 61%, 30%) |
| HSV | hsv(61, 75%, 48%) |
| CMYK | cmyk(1.6%, 0%, 75.4%, 52.2%) |
| CIE-LAB | lab(49.50, -12.50, 46.92) |
| CIE-LCH | lch(49.50, 48.55, 104.92°) |
| OKLab | oklab(56.04% -0.0392 0.1036) |
| OKLCH | oklch(56.04% 0.111 110.8) |
| XYZ | xyz(14.9401, 18.0063, 3.9166) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.82
Poop Green
#6F7C00
ΔE00 3.45
Murky Green
#6C7A0E
ΔE00 3.48
Shit Green
#758000
ΔE00 3.66
Olive
#808000
ΔE00 3.86
Olive Drab
#6F7632
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A1E #201E7A
analogous
#7A4E1E #787A1E #4A7A1E
triadic
#787A1E #1E787A #7A1E78
tetradic
#787A1E #1E7A4E #201E7A #7A1E4A
square
#787A1E #1E7A4E #201E7A #7A1E4A
split-complementary
#787A1E #1E4A7A #4E1E7A
monochromatic
#181906 #484912 #787A1E #A8AB2A #CDD042
Accessibility & contrast
On white
4.56
#787A1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#787A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A1E
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A1E | 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)
#84740C
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#817268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a1e; /* rgb */ color: rgb(120, 122, 30); /* oklch */ color: oklch(56.0% 0.111 110.8);
Tailwind
colors: {
custom: {
50: '#a2a061',
500: '#787a1e',
950: '#000000',
},
}SCSS
$custom: #787a1e; $custom-light: #a2a061; $custom-dark: #000000;
JSON
{
"hex": "#787a1e",
"rgb": {
"r": 120,
"g": 122,
"b": 30
},
"hsl": {
"h": 61.304,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.5604,
"c": 0.11075,
"h": 110.8
},
"luminance": 0.18006
}Semantic roles & 50–950 ramp
primary
#787A1E
secondary
#4846AE
accent
#44E448
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A