#787A1B#787A1B
#787A1B 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 | #787A1B |
|---|---|
| RGB | rgb(120, 122, 27) |
| HSL | hsl(61, 64%, 29%) |
| HSV | hsv(61, 78%, 48%) |
| CMYK | cmyk(1.6%, 0%, 77.9%, 52.2%) |
| CIE-LAB | lab(49.49, -12.65, 47.98) |
| CIE-LCH | lch(49.49, 49.62, 104.76°) |
| OKLab | oklab(56.02% -0.0399 0.1053) |
| OKLCH | oklch(56.02% 0.113 110.8) |
| XYZ | xyz(14.9036, 17.9917, 3.7244) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.75
Poop Green
#6F7C00
ΔE00 3.28
Murky Green
#6C7A0E
ΔE00 3.43
Shit Green
#758000
ΔE00 3.46
Olive
#808000
ΔE00 3.61
Olive Green
#677A04
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787A1B #1D1B7A
analogous
#7A4D1B #787A1B #497A1B
triadic
#787A1B #1B787A #7A1B78
tetradic
#787A1B #1B7A4D #1D1B7A #7A1B49
square
#787A1B #1B7A4D #1D1B7A #7A1B49
split-complementary
#787A1B #1B497A #4D1B7A
monochromatic
#191906 #474810 #787A1B #A9AC26 #D1D43C
Accessibility & contrast
On white
4.57
#787A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#787A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787A1B
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787A1B | 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)
#847405
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#817268
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #787a1b; /* rgb */ color: rgb(120, 122, 27); /* oklch */ color: oklch(56.0% 0.113 110.8);
Tailwind
colors: {
custom: {
50: '#a2a060',
500: '#787a1b',
950: '#000000',
},
}SCSS
$custom: #787a1b; $custom-light: #a2a060; $custom-dark: #000000;
JSON
{
"hex": "#787a1b",
"rgb": {
"r": 120,
"g": 122,
"b": 27
},
"hsl": {
"h": 61.263,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.5602,
"c": 0.11257,
"h": 110.8
},
"luminance": 0.17991
}Semantic roles & 50–950 ramp
primary
#787A1B
secondary
#4543AE
accent
#41E745
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79