#787D19#787D19
#787D19 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.117 H 112.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #787D19 |
|---|---|
| RGB | rgb(120, 125, 25) |
| HSL | hsl(63, 67%, 29%) |
| HSV | hsv(63, 80%, 49%) |
| CMYK | cmyk(4%, 0%, 80%, 51%) |
| CIE-LAB | lab(50.37, -14.36, 49.47) |
| CIE-LCH | lch(50.37, 51.51, 106.18°) |
| OKLab | oklab(56.72% -0.0448 0.108) |
| OKLCH | oklch(56.72% 0.117 112.5) |
| XYZ | xyz(15.2553, 18.7309, 3.7313) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.30
Poop Green
#6F7C00
ΔE00 2.57
Murky Green
#6C7A0E
ΔE00 3.04
Olive
#808000
ΔE00 3.10
Olive (survey)
#6E750E
ΔE00 3.32
Swamp Green
#748500
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787D19 #1E197D
analogous
#7D5019 #787D19 #467D19
triadic
#787D19 #19787D #7D1978
tetradic
#787D19 #197D50 #1E197D #7D1946
square
#787D19 #197D50 #1E197D #7D1946
split-complementary
#787D19 #19467D #50197D
monochromatic
#181A05 #474A0F #787D19 #A9B023 #CFD739
Accessibility & contrast
On white
4.42
#787D19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#787D19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787D19
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787D19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787D19 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#81756B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #787d19; /* rgb */ color: rgb(120, 125, 25); /* oklch */ color: oklch(56.7% 0.117 112.5);
Tailwind
colors: {
custom: {
50: '#a2a25f',
500: '#787d19',
950: '#000000',
},
}SCSS
$custom: #787d19; $custom-light: #a2a25f; $custom-dark: #000000;
JSON
{
"hex": "#787d19",
"rgb": {
"r": 120,
"g": 125,
"b": 25
},
"hsl": {
"h": 63,
"s": 66.667,
"l": 29.412
},
"oklch": {
"l": 0.56724,
"c": 0.11696,
"h": 112.5
},
"luminance": 0.1873
}Semantic roles & 50–950 ramp
primary
#787D19
secondary
#4640B1
accent
#3EEA47
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79