#787A4A#787A4A
#787A4A is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.068 H 110.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #787A4A |
|---|---|
| RGB | rgb(120, 122, 74) |
| HSL | hsl(63, 24%, 38%) |
| HSV | hsv(63, 39%, 48%) |
| CMYK | cmyk(1.6%, 0%, 39.3%, 52.2%) |
| CIE-LAB | lab(49.99, -8.68, 26.04) |
| CIE-LCH | lch(49.99, 27.45, 108.44°) |
| OKLab | oklab(56.58% -0.0237 0.0637) |
| OKLCH | oklch(56.58% 0.068 110.4) |
| XYZ | xyz(15.9415, 18.4068, 9.1903) |
| Luminance | 0.1841 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.71
Olive Drab
#6F7632
ΔE00 4.95
Military Green
#667C3E
ΔE00 6.28
Muddy Green
#657432
ΔE00 6.29
Khaki Green
#728639
ΔE00 7.58
Swamp
#698339
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A4A #4C4A7A
analogous
#7A644A #787A4A #607A4A
triadic
#787A4A #4A787A #7A4A78
tetradic
#787A4A #4A7A64 #4C4A7A #7A4A60
square
#787A4A #4A7A64 #4C4A7A #7A4A60
split-complementary
#787A4A #4A607A #644A7A
monochromatic
#2D2E1C #535433 #787A4A #9DA062 #B5B788
Accessibility & contrast
On white
4.49
#787A4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#787A4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A4A
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A4A | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817646
Deuteranopia (green-blind)
#81784C
Tritanopia (blue-blind)
#7E756E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787a4a; /* rgb */ color: rgb(120, 122, 74); /* oklch */ color: oklch(56.6% 0.068 110.4);
Tailwind
colors: {
custom: {
50: '#a0a07d',
500: '#787a4a',
950: '#000000',
},
}SCSS
$custom: #787a4a; $custom-light: #a0a07d; $custom-dark: #000000;
JSON
{
"hex": "#787a4a",
"rgb": {
"r": 120,
"g": 122,
"b": 74
},
"hsl": {
"h": 62.5,
"s": 24.49,
"l": 38.431
},
"oklch": {
"l": 0.5658,
"c": 0.06797,
"h": 110.4
},
"luminance": 0.18407
}Semantic roles & 50–950 ramp
primary
#787A4A
secondary
#7E7DA3
accent
#67C16B
background
#F9F9F7
surface
#F2F2EE
border
#CCCCC9
text
#0F0E09
muted
#7E7E7B