#787A2A#787A2A
#787A2A is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.102 H 110.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #787A2A |
|---|---|
| RGB | rgb(120, 122, 42) |
| HSL | hsl(62, 49%, 32%) |
| HSV | hsv(62, 66%, 48%) |
| CMYK | cmyk(1.6%, 0%, 65.6%, 52.2%) |
| CIE-LAB | lab(49.59, -11.79, 42.03) |
| CIE-LCH | lch(49.59, 43.65, 105.66°) |
| OKLab | oklab(56.14% -0.0359 0.0954) |
| OKLCH | oklch(56.14% 0.102 110.6) |
| XYZ | xyz(15.1236, 18.0797, 4.8831) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.35
Olive (survey)
#6E750E
ΔE00 3.64
Murky Green
#6C7A0E
ΔE00 4.16
Poop Green
#6F7C00
ΔE00 4.54
Shit Green
#758000
ΔE00 4.84
Drab
#828344
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A2A #2C2A7A
analogous
#7A542A #787A2A #507A2A
triadic
#787A2A #2A787A #7A2A78
tetradic
#787A2A #2A7A54 #2C2A7A #7A2A50
square
#787A2A #2A7A54 #2C2A7A #7A2A50
split-complementary
#787A2A #2A507A #542A7A
monochromatic
#1E1F0B #4B4C1A #787A2A #A5A83A #C3C659
Accessibility & contrast
On white
4.55
#787A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#787A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A2A
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A2A | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837520
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#807269
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a2a; /* rgb */ color: rgb(120, 122, 42); /* oklch */ color: oklch(56.1% 0.102 110.6);
Tailwind
colors: {
custom: {
50: '#a1a068',
500: '#787a2a',
950: '#000000',
},
}SCSS
$custom: #787a2a; $custom-light: #a1a068; $custom-dark: #000000;
JSON
{
"hex": "#787a2a",
"rgb": {
"r": 120,
"g": 122,
"b": 42
},
"hsl": {
"h": 61.5,
"s": 48.78,
"l": 32.157
},
"oklch": {
"l": 0.56139,
"c": 0.10194,
"h": 110.6
},
"luminance": 0.18079
}Semantic roles & 50–950 ramp
primary
#787A2A
secondary
#5755AB
accent
#4FD853
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A