#787E19#787E19
#787E19 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.118 H 113.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #787E19 |
|---|---|
| RGB | rgb(120, 126, 25) |
| HSL | hsl(64, 67%, 30%) |
| HSV | hsv(64, 80%, 49%) |
| CMYK | cmyk(4.8%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(50.67, -14.89, 49.74) |
| CIE-LCH | lch(50.67, 51.92, 106.67°) |
| OKLab | oklab(56.96% -0.0463 0.1086) |
| OKLCH | oklch(56.96% 0.118 113.1) |
| XYZ | xyz(15.3826, 18.9853, 3.7737) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.03
Poop Green
#6F7C00
ΔE00 2.48
Murky Green
#6C7A0E
ΔE00 3.04
Olive
#808000
ΔE00 3.08
Olive (survey)
#6E750E
ΔE00 3.59
Swamp Green
#748500
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E19 #1F197E
analogous
#7E5119 #787E19 #467E19
triadic
#787E19 #19787E #7E1978
tetradic
#787E19 #197E51 #1F197E #7E1946
square
#787E19 #197E51 #1F197E #7E1946
split-complementary
#787E19 #19467E #51197E
monochromatic
#181A05 #474B0F #787E19 #A9B123 #CED83A
Accessibility & contrast
On white
4.38
#787E19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#787E19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E19
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E19 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#81766B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787e19; /* rgb */ color: rgb(120, 126, 25); /* oklch */ color: oklch(57.0% 0.118 113.1);
Tailwind
colors: {
custom: {
50: '#a2a360',
500: '#787e19',
950: '#000000',
},
}SCSS
$custom: #787e19; $custom-light: #a2a360; $custom-dark: #000000;
JSON
{
"hex": "#787e19",
"rgb": {
"r": 120,
"g": 126,
"b": 25
},
"hsl": {
"h": 63.564,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.56964,
"c": 0.11807,
"h": 113.1
},
"luminance": 0.18985
}Semantic roles & 50–950 ramp
primary
#787E19
secondary
#4741B2
accent
#3EEA48
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79