#787B19#787B19
#787B19 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.2% C 0.115 H 111.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #787B19 |
|---|---|
| RGB | rgb(120, 123, 25) |
| HSL | hsl(62, 66%, 29%) |
| HSV | hsv(62, 80%, 48%) |
| CMYK | cmyk(2.4%, 0%, 79.7%, 51.8%) |
| CIE-LAB | lab(49.77, -13.28, 48.93) |
| CIE-LCH | lch(49.77, 50.70, 105.18°) |
| OKLab | oklab(56.25% -0.0419 0.1069) |
| OKLCH | oklch(56.25% 0.115 111.4) |
| XYZ | xyz(15.0047, 18.2296, 3.6478) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.87
Poop Green
#6F7C00
ΔE00 2.93
Shit Green
#758000
ΔE00 2.98
Murky Green
#6C7A0E
ΔE00 3.23
Olive
#808000
ΔE00 3.29
Olive Green
#677A04
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787B19 #1C197B
analogous
#7B4D19 #787B19 #477B19
triadic
#787B19 #19787B #7B1978
tetradic
#787B19 #197B4D #1C197B #7B1947
square
#787B19 #197B4D #1C197B #7B1947
split-complementary
#787B19 #19477B #4D197B
monochromatic
#191905 #46480F #787B19 #AAAE23 #D2D738
Accessibility & contrast
On white
4.52
#787B19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#787B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787B19
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787B19 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#817369
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787b19; /* rgb */ color: rgb(120, 123, 25); /* oklch */ color: oklch(56.2% 0.115 111.4);
Tailwind
colors: {
custom: {
50: '#a2a15f',
500: '#787b19',
950: '#000000',
},
}SCSS
$custom: #787b19; $custom-light: #a2a15f; $custom-dark: #000000;
JSON
{
"hex": "#787b19",
"rgb": {
"r": 120,
"g": 123,
"b": 25
},
"hsl": {
"h": 61.837,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.56246,
"c": 0.11477,
"h": 111.4
},
"luminance": 0.18229
}Semantic roles & 50–950 ramp
primary
#787B19
secondary
#4440AF
accent
#3FE944
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79