#787C1D#787C1D
#787C1D is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.114 H 112.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #787C1D |
|---|---|
| RGB | rgb(120, 124, 29) |
| HSL | hsl(63, 62%, 30%) |
| HSV | hsv(63, 77%, 49%) |
| CMYK | cmyk(3.2%, 0%, 76.6%, 51.4%) |
| CIE-LAB | lab(50.09, -13.64, 47.84) |
| CIE-LCH | lch(50.09, 49.75, 105.91°) |
| OKLab | oklab(56.51% -0.0425 0.1053) |
| OKLCH | oklch(56.51% 0.114 112) |
| XYZ | xyz(15.1757, 18.4975, 3.9331) |
| Luminance | 0.1850 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.91
Poop Green
#6F7C00
ΔE00 2.93
Olive (survey)
#6E750E
ΔE00 3.12
Murky Green
#6C7A0E
ΔE00 3.14
Olive
#808000
ΔE00 3.49
Olive Green
#677A04
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787C1D #211D7C
analogous
#7C501D #787C1D #497C1D
triadic
#787C1D #1D787C #7C1D78
tetradic
#787C1D #1D7C50 #211D7C #7C1D49
square
#787C1D #1D7C50 #211D7C #7C1D49
split-complementary
#787C1D #1D497C #501D7C
monochromatic
#181906 #484A11 #787C1D #A8AE29 #CCD341
Accessibility & contrast
On white
4.47
#787C1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#787C1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #787C1D
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787C1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##787C1D | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867608
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#81746A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #787c1d; /* rgb */ color: rgb(120, 124, 29); /* oklch */ color: oklch(56.5% 0.114 112.0);
Tailwind
colors: {
custom: {
50: '#a2a161',
500: '#787c1d',
950: '#000000',
},
}SCSS
$custom: #787c1d; $custom-light: #a2a161; $custom-dark: #000000;
JSON
{
"hex": "#787c1d",
"rgb": {
"r": 120,
"g": 124,
"b": 29
},
"hsl": {
"h": 62.526,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.5651,
"c": 0.11358,
"h": 112
},
"luminance": 0.18497
}Semantic roles & 50–950 ramp
primary
#787C1D
secondary
#4A45B0
accent
#43E549
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F05
muted
#7F7E7A