#778215#778215
#778215 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.125 H 115.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #778215 |
|---|---|
| RGB | rgb(119, 130, 21) |
| HSL | hsl(66, 72%, 30%) |
| HSV | hsv(66, 84%, 51%) |
| CMYK | cmyk(8.5%, 0%, 83.8%, 49%) |
| CIE-LAB | lab(51.77, -17.62, 51.89) |
| CIE-LCH | lch(51.77, 54.80, 108.76°) |
| OKLab | oklab(57.82% -0.0541 0.1125) |
| OKLCH | oklch(57.82% 0.125 115.7) |
| XYZ | xyz(15.7262, 19.9416, 3.7300) |
| Luminance | 0.1994 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.39
Swamp Green
#748500
ΔE00 1.92
Poop Green
#6F7C00
ΔE00 2.62
Murky Green
#6C7A0E
ΔE00 3.45
Olive
#808000
ΔE00 3.58
Olive Green
#677A04
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778215 #201582
analogous
#825715 #778215 #418215
triadic
#778215 #157782 #821577
tetradic
#778215 #158257 #201582 #821541
square
#778215 #158257 #201582 #821541
split-complementary
#778215 #154182 #571582
monochromatic
#181A04 #474D0C #778215 #A7B71E #CDDE33
Accessibility & contrast
On white
4.21
#778215 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#778215 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778215
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778215 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778215 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#7F7A6F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #778215; /* rgb */ color: rgb(119, 130, 21); /* oklch */ color: oklch(57.8% 0.125 115.7);
Tailwind
colors: {
custom: {
50: '#a2a65e',
500: '#778215',
950: '#000000',
},
}SCSS
$custom: #778215; $custom-light: #a2a65e; $custom-dark: #000000;
JSON
{
"hex": "#778215",
"rgb": {
"r": 119,
"g": 130,
"b": 21
},
"hsl": {
"h": 66.055,
"s": 72.185,
"l": 29.608
},
"oklch": {
"l": 0.57821,
"c": 0.12484,
"h": 115.7
},
"luminance": 0.19941
}Semantic roles & 50–950 ramp
primary
#778215
secondary
#483CB7
accent
#39EF4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79