#787A1A#787A1A
#787A1A is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.113 H 110.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #787A1A |
|---|---|
| RGB | rgb(120, 122, 26) |
| HSL | hsl(61, 65%, 29%) |
| HSV | hsv(61, 79%, 48%) |
| CMYK | cmyk(1.6%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(49.48, -12.69, 48.32) |
| CIE-LCH | lch(49.48, 49.96, 104.71°) |
| OKLab | oklab(56.01% -0.0401 0.1058) |
| OKLCH | oklch(56.01% 0.113 110.8) |
| XYZ | xyz(14.8922, 17.9871, 3.6645) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.74
Poop Green
#6F7C00
ΔE00 3.24
Shit Green
#758000
ΔE00 3.40
Murky Green
#6C7A0E
ΔE00 3.42
Olive
#808000
ΔE00 3.54
Olive Green
#677A04
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A1A #1C1A7A
analogous
#7A4C1A #787A1A #487A1A
triadic
#787A1A #1A787A #7A1A78
tetradic
#787A1A #1A7A4C #1C1A7A #7A1A48
square
#787A1A #1A7A4C #1C1A7A #7A1A48
split-complementary
#787A1A #1A487A #4C1A7A
monochromatic
#191905 #46480F #787A1A #AAAC25 #D2D539
Accessibility & contrast
On white
4.57
#787A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#787A1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A1A
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A1A | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#817268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a1a; /* rgb */ color: rgb(120, 122, 26); /* oklch */ color: oklch(56.0% 0.113 110.8);
Tailwind
colors: {
custom: {
50: '#a2a05f',
500: '#787a1a',
950: '#000000',
},
}SCSS
$custom: #787a1a; $custom-light: #a2a05f; $custom-dark: #000000;
JSON
{
"hex": "#787a1a",
"rgb": {
"r": 120,
"g": 122,
"b": 26
},
"hsl": {
"h": 61.25,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.56014,
"c": 0.11314,
"h": 110.8
},
"luminance": 0.17987
}Semantic roles & 50–950 ramp
primary
#787A1A
secondary
#4441AE
accent
#40E843
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79