#787F19#787F19
#787F19 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 | #787F19 |
|---|---|
| RGB | rgb(120, 127, 25) |
| HSL | hsl(64, 67%, 30%) |
| HSV | hsv(64, 80%, 50%) |
| CMYK | cmyk(5.5%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(50.97, -15.43, 50.01) |
| CIE-LCH | lch(50.97, 52.34, 107.14°) |
| OKLab | oklab(57.2% -0.0478 0.1092) |
| OKLCH | oklch(57.2% 0.119 113.7) |
| XYZ | xyz(15.5111, 19.2423, 3.8166) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.81
Poop Green
#6F7C00
ΔE00 2.47
Murky Green
#6C7A0E
ΔE00 3.09
Olive
#808000
ΔE00 3.12
Swamp Green
#748500
ΔE00 3.26
Olive (survey)
#6E750E
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787F19 #20197F
analogous
#7F5319 #787F19 #457F19
triadic
#787F19 #19787F #7F1978
tetradic
#787F19 #197F53 #20197F #7F1945
square
#787F19 #197F53 #20197F #7F1945
split-complementary
#787F19 #19457F #53197F
monochromatic
#181A05 #484C0F #787F19 #A8B223 #CDD83A
Accessibility & contrast
On white
4.33
#787F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#787F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787F19
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787F19 | 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)
#897A22
Tritanopia (blue-blind)
#81776C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787f19; /* rgb */ color: rgb(120, 127, 25); /* oklch */ color: oklch(57.2% 0.119 113.7);
Tailwind
colors: {
custom: {
50: '#a2a360',
500: '#787f19',
950: '#000000',
},
}SCSS
$custom: #787f19; $custom-light: #a2a360; $custom-dark: #000000;
JSON
{
"hex": "#787f19",
"rgb": {
"r": 120,
"g": 127,
"b": 25
},
"hsl": {
"h": 64.118,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.57204,
"c": 0.11918,
"h": 113.7
},
"luminance": 0.19242
}Semantic roles & 50–950 ramp
primary
#787F19
secondary
#4841B3
accent
#3EEA4A
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79