#787915#787915
#787915 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.7% C 0.115 H 110.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #787915 |
|---|---|
| RGB | rgb(120, 121, 21) |
| HSL | hsl(61, 70%, 28%) |
| HSV | hsv(61, 83%, 47%) |
| CMYK | cmyk(0.8%, 0%, 82.6%, 52.5%) |
| CIE-LAB | lab(49.16, -12.35, 49.64) |
| CIE-LCH | lch(49.16, 51.15, 103.97°) |
| OKLab | oklab(55.75% -0.0396 0.1076) |
| OKLCH | oklch(55.75% 0.115 110.2) |
| XYZ | xyz(14.7190, 17.7224, 3.3547) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 2.66
Poop Green
#6F7C00
ΔE00 3.37
Olive
#808000
ΔE00 3.44
Shit Green
#758000
ΔE00 3.58
Murky Green
#6C7A0E
ΔE00 3.65
Brownish Green
#6A6E09
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787915 #161579
analogous
#794815 #787915 #467915
triadic
#787915 #157879 #791578
tetradic
#787915 #157948 #161579 #791546
square
#787915 #157948 #161579 #791546
split-complementary
#787915 #154679 #481579
monochromatic
#1A1A05 #44450C #787915 #ACAD1E #D9DB2E
Accessibility & contrast
On white
4.62
#787915 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#787915 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #787915
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787915 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##787915 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#817167
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #787915; /* rgb */ color: rgb(120, 121, 21); /* oklch */ color: oklch(55.7% 0.115 110.2);
Tailwind
colors: {
custom: {
50: '#a29f5d',
500: '#787915',
950: '#000000',
},
}SCSS
$custom: #787915; $custom-light: #a29f5d; $custom-dark: #000000;
JSON
{
"hex": "#787915",
"rgb": {
"r": 120,
"g": 121,
"b": 21
},
"hsl": {
"h": 60.6,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.55747,
"c": 0.11467,
"h": 110.2
},
"luminance": 0.17722
}Semantic roles & 50–950 ramp
primary
#787915
secondary
#3C3BAF
accent
#3BED3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79