#787E1C#787E1C
#787E1C is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.0% C 0.116 H 113.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #787E1C |
|---|---|
| RGB | rgb(120, 126, 28) |
| HSL | hsl(64, 64%, 30%) |
| HSV | hsv(64, 78%, 49%) |
| CMYK | cmyk(4.8%, 0%, 77.8%, 50.6%) |
| CIE-LAB | lab(50.69, -14.76, 48.75) |
| CIE-LCH | lch(50.69, 50.93, 106.84°) |
| OKLab | oklab(56.98% -0.0457 0.1071) |
| OKLCH | oklch(56.98% 0.116 113.1) |
| XYZ | xyz(15.4167, 18.9990, 3.9534) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.27
Poop Green
#6F7C00
ΔE00 2.63
Murky Green
#6C7A0E
ΔE00 3.05
Olive
#808000
ΔE00 3.32
Olive (survey)
#6E750E
ΔE00 3.61
Swamp Green
#748500
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787E1C #221C7E
analogous
#7E531C #787E1C #477E1C
triadic
#787E1C #1C787E #7E1C78
tetradic
#787E1C #1C7E53 #221C7E #7E1C47
square
#787E1C #1C7E53 #221C7E #7E1C47
split-complementary
#787E1C #1C477E #531C7E
monochromatic
#191A06 #484C11 #787E1C #A8B027 #CBD540
Accessibility & contrast
On white
4.38
#787E1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#787E1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787E1C
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787E1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787E1C | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 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)
#887805
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#81766C
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #787e1c; /* rgb */ color: rgb(120, 126, 28); /* oklch */ color: oklch(57.0% 0.116 113.1);
Tailwind
colors: {
custom: {
50: '#a2a361',
500: '#787e1c',
950: '#000000',
},
}SCSS
$custom: #787e1c; $custom-light: #a2a361; $custom-dark: #000000;
JSON
{
"hex": "#787e1c",
"rgb": {
"r": 120,
"g": 126,
"b": 28
},
"hsl": {
"h": 63.673,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.56982,
"c": 0.11641,
"h": 113.1
},
"luminance": 0.18999
}Semantic roles & 50–950 ramp
primary
#787E1C
secondary
#4B44B2
accent
#41E74B
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F05
muted
#7F7F7A