#787B2A#787B2A
#787B2A is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.103 H 111.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #787B2A |
|---|---|
| RGB | rgb(120, 123, 42) |
| HSL | hsl(62, 49%, 32%) |
| HSV | hsv(62, 66%, 48%) |
| CMYK | cmyk(2.4%, 0%, 65.9%, 51.8%) |
| CIE-LAB | lab(49.89, -12.33, 42.35) |
| CIE-LCH | lch(49.89, 44.11, 106.24°) |
| OKLab | oklab(56.38% -0.0375 0.0961) |
| OKLCH | oklch(56.38% 0.103 111.3) |
| XYZ | xyz(15.2470, 18.3265, 4.9242) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.47
Olive (survey)
#6E750E
ΔE00 3.71
Murky Green
#6C7A0E
ΔE00 3.98
Poop Green
#6F7C00
ΔE00 4.32
Shit Green
#758000
ΔE00 4.55
Drab
#828344
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787B2A #2D2A7B
analogous
#7B552A #787B2A #507B2A
triadic
#787B2A #2A787B #7B2A78
tetradic
#787B2A #2A7B55 #2D2A7B #7B2A50
square
#787B2A #2A7B55 #2D2A7B #7B2A50
split-complementary
#787B2A #2A507B #552A7B
monochromatic
#1F200B #4B4D1A #787B2A #A5A93A #C2C659
Accessibility & contrast
On white
4.50
#787B2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#787B2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787B2A
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787B2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787B2A | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847620
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#80746A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787b2a; /* rgb */ color: rgb(120, 123, 42); /* oklch */ color: oklch(56.4% 0.103 111.3);
Tailwind
colors: {
custom: {
50: '#a1a168',
500: '#787b2a',
950: '#000000',
},
}SCSS
$custom: #787b2a; $custom-light: #a1a168; $custom-dark: #000000;
JSON
{
"hex": "#787b2a",
"rgb": {
"r": 120,
"g": 123,
"b": 42
},
"hsl": {
"h": 62.222,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.56376,
"c": 0.10311,
"h": 111.3
},
"luminance": 0.18326
}Semantic roles & 50–950 ramp
primary
#787B2A
secondary
#5855AC
accent
#4FD954
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A