#787A3A#787A3A
#787A3A is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.3% C 0.087 H 110.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #787A3A |
|---|---|
| RGB | rgb(120, 122, 58) |
| HSL | hsl(62, 36%, 35%) |
| HSV | hsv(62, 52%, 48%) |
| CMYK | cmyk(1.6%, 0%, 52.5%, 52.2%) |
| CIE-LAB | lab(49.76, -10.46, 34.40) |
| CIE-LCH | lch(49.76, 35.96, 106.90°) |
| OKLab | oklab(56.33% -0.0303 0.0812) |
| OKLCH | oklch(56.33% 0.087 110.5) |
| XYZ | xyz(15.4693, 18.2180, 6.7037) |
| Luminance | 0.1822 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 2.59
Drab
#828344
ΔE00 3.61
Muddy Green
#657432
ΔE00 5.15
Olive (survey)
#6E750E
ΔE00 5.93
Khaki Green
#728639
ΔE00 6.05
Military Green
#667C3E
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A3A #3C3A7A
analogous
#7A5C3A #787A3A #587A3A
triadic
#787A3A #3A787A #7A3A78
tetradic
#787A3A #3A7A5C #3C3A7A #7A3A58
square
#787A3A #3A7A5C #3C3A7A #7A3A58
split-complementary
#787A3A #3A587A #5C3A7A
monochromatic
#262713 #4F5126 #787A3A #A1A34E #BABC72
Accessibility & contrast
On white
4.52
#787A3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#787A3A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A3A
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A3A | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827534
Deuteranopia (green-blind)
#83773D
Tritanopia (blue-blind)
#7F736B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a3a; /* rgb */ color: rgb(120, 122, 58); /* oklch */ color: oklch(56.3% 0.087 110.5);
Tailwind
colors: {
custom: {
50: '#a0a072',
500: '#787a3a',
950: '#000000',
},
}SCSS
$custom: #787a3a; $custom-light: #a0a072; $custom-dark: #000000;
JSON
{
"hex": "#787a3a",
"rgb": {
"r": 120,
"g": 122,
"b": 58
},
"hsl": {
"h": 61.875,
"s": 35.556,
"l": 35.294
},
"oklch": {
"l": 0.56326,
"c": 0.08664,
"h": 110.5
},
"luminance": 0.18218
}Semantic roles & 50–950 ramp
primary
#787A3A
secondary
#6C6AA6
accent
#5CCC60
background
#FAF9F7
surface
#F3F2ED
border
#CDCCC8
text
#0F0E08
muted
#7F7E7B