#787E1E#787E1E
#787E1E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.115 H 113.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #787E1E |
|---|---|
| RGB | rgb(120, 126, 30) |
| HSL | hsl(64, 62%, 31%) |
| HSV | hsv(64, 76%, 49%) |
| CMYK | cmyk(4.8%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(50.70, -14.66, 48.05) |
| CIE-LCH | lch(50.70, 50.24, 106.97°) |
| OKLab | oklab(57% -0.0453 0.106) |
| OKLCH | oklch(57% 0.115 113.1) |
| XYZ | xyz(15.4414, 19.0089, 4.0837) |
| Luminance | 0.1901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.45
Poop Green
#6F7C00
ΔE00 2.76
Murky Green
#6C7A0E
ΔE00 3.08
Olive
#808000
ΔE00 3.49
Olive (survey)
#6E750E
ΔE00 3.64
Swamp Green
#748500
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E1E #241E7E
analogous
#7E541E #787E1E #487E1E
triadic
#787E1E #1E787E #7E1E78
tetradic
#787E1E #1E7E54 #241E7E #7E1E48
square
#787E1E #1E7E54 #241E7E #7E1E48
split-complementary
#787E1E #1E487E #541E7E
monochromatic
#1A1B06 #494D12 #787E1E #A7AF2A #CAD244
Accessibility & contrast
On white
4.37
#787E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#787E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E1E
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E1E | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#80766C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787e1e; /* rgb */ color: rgb(120, 126, 30); /* oklch */ color: oklch(57.0% 0.115 113.1);
Tailwind
colors: {
custom: {
50: '#a2a362',
500: '#787e1e',
950: '#000000',
},
}SCSS
$custom: #787e1e; $custom-light: #a2a362; $custom-dark: #000000;
JSON
{
"hex": "#787e1e",
"rgb": {
"r": 120,
"g": 126,
"b": 30
},
"hsl": {
"h": 63.75,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.56995,
"c": 0.11522,
"h": 113.1
},
"luminance": 0.19009
}Semantic roles & 50–950 ramp
primary
#787E1E
secondary
#4D47B1
accent
#43E54D
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A