#787F1E#787F1E
#787F1E is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.2% C 0.116 H 113.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #787F1E |
|---|---|
| RGB | rgb(120, 127, 30) |
| HSL | hsl(64, 62%, 31%) |
| HSV | hsv(64, 76%, 50%) |
| CMYK | cmyk(5.5%, 0%, 76.4%, 50.2%) |
| CIE-LAB | lab(51.00, -15.20, 48.33) |
| CIE-LCH | lch(51.00, 50.67, 107.46°) |
| OKLab | oklab(57.24% -0.0467 0.1066) |
| OKLCH | oklch(57.24% 0.116 113.7) |
| XYZ | xyz(15.5699, 19.2659, 4.1265) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.26
Poop Green
#6F7C00
ΔE00 2.74
Murky Green
#6C7A0E
ΔE00 3.13
Swamp Green
#748500
ΔE00 3.52
Olive
#808000
ΔE00 3.52
Olive (survey)
#6E750E
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F1E #251E7F
analogous
#7F551E #787F1E #477F1E
triadic
#787F1E #1E787F #7F1E78
tetradic
#787F1E #1E7F55 #251E7F #7F1E47
square
#787F1E #1E7F55 #251E7F #7F1E47
split-complementary
#787F1E #1E477F #551E7F
monochromatic
#1A1C07 #494D12 #787F1E #A7B12A #C9D344
Accessibility & contrast
On white
4.33
#787F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#787F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F1E
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F1E | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#897A26
Tritanopia (blue-blind)
#80776D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787f1e; /* rgb */ color: rgb(120, 127, 30); /* oklch */ color: oklch(57.2% 0.116 113.7);
Tailwind
colors: {
custom: {
50: '#a2a462',
500: '#787f1e',
950: '#000000',
},
}SCSS
$custom: #787f1e; $custom-light: #a2a462; $custom-dark: #000000;
JSON
{
"hex": "#787f1e",
"rgb": {
"r": 120,
"g": 127,
"b": 30
},
"hsl": {
"h": 64.33,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.57235,
"c": 0.11636,
"h": 113.7
},
"luminance": 0.19266
}Semantic roles & 50–950 ramp
primary
#787F1E
secondary
#4E47B2
accent
#43E54F
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A