#787B18#787B18
#787B18 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.64:1 contrast (WCAG AA passes).
Color values
| HEX | #787B18 |
|---|---|
| RGB | rgb(120, 123, 24) |
| HSL | hsl(62, 67%, 29%) |
| HSV | hsv(62, 80%, 48%) |
| CMYK | cmyk(2.4%, 0%, 80.5%, 51.8%) |
| CIE-LAB | lab(49.77, -13.32, 49.25) |
| CIE-LCH | lch(49.77, 51.02, 105.13°) |
| OKLab | oklab(56.24% -0.0421 0.1074) |
| OKLCH | oklch(56.24% 0.115 111.4) |
| XYZ | xyz(14.9941, 18.2253, 3.5920) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.87
Poop Green
#6F7C00
ΔE00 2.90
Shit Green
#758000
ΔE00 2.92
Olive
#808000
ΔE00 3.22
Murky Green
#6C7A0E
ΔE00 3.23
Olive Green
#677A04
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787B18 #1B187B
analogous
#7B4D18 #787B18 #477B18
triadic
#787B18 #18787B #7B1878
tetradic
#787B18 #187B4D #1B187B #7B1847
square
#787B18 #187B4D #1B187B #7B1847
split-complementary
#787B18 #18477B #4D187B
monochromatic
#191A05 #46480E #787B18 #AAAE22 #D3D836
Accessibility & contrast
On white
4.52
#787B18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#787B18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787B18
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787B18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787B18 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#817369
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787b18; /* rgb */ color: rgb(120, 123, 24); /* oklch */ color: oklch(56.2% 0.115 111.4);
Tailwind
colors: {
custom: {
50: '#a2a15f',
500: '#787b18',
950: '#000000',
},
}SCSS
$custom: #787b18; $custom-light: #a2a15f; $custom-dark: #000000;
JSON
{
"hex": "#787b18",
"rgb": {
"r": 120,
"g": 123,
"b": 24
},
"hsl": {
"h": 61.818,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.5624,
"c": 0.1153,
"h": 111.4
},
"luminance": 0.18225
}Semantic roles & 50–950 ramp
primary
#787B18
secondary
#433FB0
accent
#3EEA43
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79