#787B2B#787B2B
#787B2B is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.102 H 111.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #787B2B |
|---|---|
| RGB | rgb(120, 123, 43) |
| HSL | hsl(62, 48%, 33%) |
| HSV | hsv(62, 65%, 48%) |
| CMYK | cmyk(2.4%, 0%, 65%, 51.8%) |
| CIE-LAB | lab(49.90, -12.26, 41.90) |
| CIE-LCH | lch(49.90, 43.66, 106.31°) |
| OKLab | oklab(56.39% -0.0372 0.0953) |
| OKLCH | oklch(56.39% 0.102 111.3) |
| XYZ | xyz(15.2652, 18.3338, 5.0197) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.36
Olive (survey)
#6E750E
ΔE00 3.81
Murky Green
#6C7A0E
ΔE00 4.07
Poop Green
#6F7C00
ΔE00 4.45
Drab
#828344
ΔE00 4.62
Shit Green
#758000
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787B2B #2E2B7B
analogous
#7B562B #787B2B #507B2B
triadic
#787B2B #2B787B #7B2B78
tetradic
#787B2B #2B7B56 #2E2B7B #7B2B50
square
#787B2B #2B7B56 #2E2B7B #7B2B50
split-complementary
#787B2B #2B507B #562B7B
monochromatic
#20200B #4C4E1B #787B2B #A4A83B #C2C65B
Accessibility & contrast
On white
4.50
#787B2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#787B2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787B2B
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787B2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787B2B | 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)
#847621
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#80746A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787b2b; /* rgb */ color: rgb(120, 123, 43); /* oklch */ color: oklch(56.4% 0.102 111.3);
Tailwind
colors: {
custom: {
50: '#a1a169',
500: '#787b2b',
950: '#000000',
},
}SCSS
$custom: #787b2b; $custom-light: #a1a169; $custom-dark: #000000;
JSON
{
"hex": "#787b2b",
"rgb": {
"r": 120,
"g": 123,
"b": 43
},
"hsl": {
"h": 62.25,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.56386,
"c": 0.10228,
"h": 111.3
},
"luminance": 0.18333
}Semantic roles & 50–950 ramp
primary
#787B2B
secondary
#5A56AB
accent
#50D855
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A