#778117#778117
#778117 is a mid, vivid yellow. Relative luminance 0.197; OKLCH L 57.6% C 0.123 H 115.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #778117 |
|---|---|
| RGB | rgb(119, 129, 23) |
| HSL | hsl(66, 70%, 30%) |
| HSV | hsv(66, 82%, 51%) |
| CMYK | cmyk(7.8%, 0%, 82.2%, 49.4%) |
| CIE-LAB | lab(51.48, -17.02, 51.06) |
| CIE-LCH | lch(51.48, 53.82, 108.44°) |
| OKLab | oklab(57.59% -0.0523 0.1111) |
| OKLCH | oklch(57.59% 0.123 115.2) |
| XYZ | xyz(15.6131, 19.6846, 3.7875) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.44
Swamp Green
#748500
ΔE00 2.34
Poop Green
#6F7C00
ΔE00 2.46
Murky Green
#6C7A0E
ΔE00 3.21
Olive
#808000
ΔE00 3.50
Olive Green
#677A04
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778117 #211781
analogous
#815617 #778117 #428117
triadic
#778117 #177781 #811777
tetradic
#778117 #178156 #211781 #811742
square
#778117 #178156 #211781 #811742
split-complementary
#778117 #174281 #561781
monochromatic
#181A05 #474D0E #778117 #A7B520 #CCDB37
Accessibility & contrast
On white
4.25
#778117 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#778117 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778117
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778117 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778117 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#7F796E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #778117; /* rgb */ color: rgb(119, 129, 23); /* oklch */ color: oklch(57.6% 0.123 115.2);
Tailwind
colors: {
custom: {
50: '#a2a55f',
500: '#778117',
950: '#000000',
},
}SCSS
$custom: #778117; $custom-light: #a2a55f; $custom-dark: #000000;
JSON
{
"hex": "#778117",
"rgb": {
"r": 119,
"g": 129,
"b": 23
},
"hsl": {
"h": 65.66,
"s": 69.737,
"l": 29.804
},
"oklch": {
"l": 0.57589,
"c": 0.12278,
"h": 115.2
},
"luminance": 0.19684
}Semantic roles & 50–950 ramp
primary
#778117
secondary
#4A3EB5
accent
#3BED4C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79