#787B26#787B26
#787B26 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.106 H 111.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #787B26 |
|---|---|
| RGB | rgb(120, 123, 38) |
| HSL | hsl(62, 53%, 32%) |
| HSV | hsv(62, 69%, 48%) |
| CMYK | cmyk(2.4%, 0%, 69.1%, 51.8%) |
| CIE-LAB | lab(49.86, -12.60, 44.06) |
| CIE-LCH | lch(49.86, 45.83, 105.95°) |
| OKLab | oklab(56.34% -0.0387 0.099) |
| OKLCH | oklch(56.34% 0.106 111.3) |
| XYZ | xyz(15.1790, 18.2993, 4.5659) |
| Luminance | 0.1830 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.36
Murky Green
#6C7A0E
ΔE00 3.66
Poop Green
#6F7C00
ΔE00 3.87
Olive Drab
#6F7632
ΔE00 3.89
Shit Green
#758000
ΔE00 4.07
Olive
#808000
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787B26 #29267B
analogous
#7B5426 #787B26 #4E7B26
triadic
#787B26 #26787B #7B2678
tetradic
#787B26 #267B54 #29267B #7B264E
square
#787B26 #267B54 #29267B #7B264E
split-complementary
#787B26 #264E7B #54267B
monochromatic
#1D1D09 #4A4C18 #787B26 #A6AA34 #C5CA52
Accessibility & contrast
On white
4.51
#787B26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#787B26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787B26
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787B26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787B26 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85751A
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#80736A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787b26; /* rgb */ color: rgb(120, 123, 38); /* oklch */ color: oklch(56.3% 0.106 111.3);
Tailwind
colors: {
custom: {
50: '#a2a166',
500: '#787b26',
950: '#000000',
},
}SCSS
$custom: #787b26; $custom-light: #a2a166; $custom-dark: #000000;
JSON
{
"hex": "#787b26",
"rgb": {
"r": 120,
"g": 123,
"b": 38
},
"hsl": {
"h": 62.118,
"s": 52.795,
"l": 31.569
},
"oklch": {
"l": 0.5634,
"c": 0.10629,
"h": 111.3
},
"luminance": 0.18299
}Semantic roles & 50–950 ramp
primary
#787B26
secondary
#5350AD
accent
#4CDC51
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A