#787A2B#787A2B
#787A2B is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.101 H 110.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #787A2B |
|---|---|
| RGB | rgb(120, 122, 43) |
| HSL | hsl(62, 48%, 32%) |
| HSV | hsv(62, 65%, 48%) |
| CMYK | cmyk(1.6%, 0%, 64.8%, 52.2%) |
| CIE-LAB | lab(49.60, -11.71, 41.59) |
| CIE-LCH | lch(49.60, 43.21, 105.73°) |
| OKLab | oklab(56.15% -0.0356 0.0946) |
| OKLCH | oklch(56.15% 0.101 110.6) |
| XYZ | xyz(15.1418, 18.0869, 4.9785) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.25
Olive (survey)
#6E750E
ΔE00 3.75
Murky Green
#6C7A0E
ΔE00 4.26
Poop Green
#6F7C00
ΔE00 4.66
Drab
#828344
ΔE00 4.76
Shit Green
#758000
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A2B #2D2B7A
analogous
#7A552B #787A2B #517A2B
triadic
#787A2B #2B787A #7A2B78
tetradic
#787A2B #2B7A55 #2D2B7A #7A2B51
square
#787A2B #2B7A55 #2D2B7A #7A2B51
split-complementary
#787A2B #2B517A #552B7A
monochromatic
#1F1F0B #4B4D1B #787A2B #A5A73B #C2C55A
Accessibility & contrast
On white
4.55
#787A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#787A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A2B
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A2B | 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)
#837521
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#80736A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a2b; /* rgb */ color: rgb(120, 122, 43); /* oklch */ color: oklch(56.1% 0.101 110.6);
Tailwind
colors: {
custom: {
50: '#a1a068',
500: '#787a2b',
950: '#000000',
},
}SCSS
$custom: #787a2b; $custom-light: #a1a068; $custom-dark: #000000;
JSON
{
"hex": "#787a2b",
"rgb": {
"r": 120,
"g": 122,
"b": 43
},
"hsl": {
"h": 61.519,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.56149,
"c": 0.1011,
"h": 110.6
},
"luminance": 0.18087
}Semantic roles & 50–950 ramp
primary
#787A2B
secondary
#5856AB
accent
#50D754
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A