#787F1A#787F1A
#787F1A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.119 H 113.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #787F1A |
|---|---|
| RGB | rgb(120, 127, 26) |
| HSL | hsl(64, 66%, 30%) |
| HSV | hsv(64, 80%, 50%) |
| CMYK | cmyk(5.5%, 0%, 79.5%, 50.2%) |
| CIE-LAB | lab(50.97, -15.38, 49.69) |
| CIE-LCH | lch(50.97, 52.02, 107.20°) |
| OKLab | oklab(57.21% -0.0476 0.1087) |
| OKLCH | oklch(57.21% 0.119 113.7) |
| XYZ | xyz(15.5220, 19.2467, 3.8744) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.89
Poop Green
#6F7C00
ΔE00 2.52
Murky Green
#6C7A0E
ΔE00 3.09
Olive
#808000
ΔE00 3.20
Swamp Green
#748500
ΔE00 3.30
Olive (survey)
#6E750E
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F1A #211A7F
analogous
#7F531A #787F1A #467F1A
triadic
#787F1A #1A787F #7F1A78
tetradic
#787F1A #1A7F53 #211A7F #7F1A46
square
#787F1A #1A7F53 #211A7F #7F1A46
split-complementary
#787F1A #1A467F #531A7F
monochromatic
#181905 #484C10 #787F1A #A8B224 #CCD73C
Accessibility & contrast
On white
4.33
#787F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#787F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F1A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F1A | 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)
#897800
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#80776C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787f1a; /* rgb */ color: rgb(120, 127, 26); /* oklch */ color: oklch(57.2% 0.119 113.7);
Tailwind
colors: {
custom: {
50: '#a2a360',
500: '#787f1a',
950: '#000000',
},
}SCSS
$custom: #787f1a; $custom-light: #a2a360; $custom-dark: #000000;
JSON
{
"hex": "#787f1a",
"rgb": {
"r": 120,
"g": 127,
"b": 26
},
"hsl": {
"h": 64.158,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.5721,
"c": 0.11865,
"h": 113.7
},
"luminance": 0.19246
}Semantic roles & 50–950 ramp
primary
#787F1A
secondary
#4A42B3
accent
#3FE94B
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79