#778231#778231
#778231 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.0% C 0.106 H 116.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #778231 |
|---|---|
| RGB | rgb(119, 130, 49) |
| HSL | hsl(68, 45%, 35%) |
| HSV | hsv(68, 62%, 51%) |
| CMYK | cmyk(8.5%, 0%, 62.3%, 49%) |
| CIE-LAB | lab(51.96, -16.02, 41.34) |
| CIE-LCH | lch(51.96, 44.33, 111.19°) |
| OKLab | oklab(58.03% -0.047 0.095) |
| OKLCH | oklch(58.03% 0.106 116.3) |
| XYZ | xyz(16.1451, 20.1092, 5.9361) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 2.90
Drab
#828344
ΔE00 4.17
Dirty Green
#667E2C
ΔE00 4.23
Swamp
#698339
ΔE00 4.55
Murky Green
#6C7A0E
ΔE00 4.63
Shit Green
#758000
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778231 #3C3182
analogous
#826431 #778231 #4F8231
triadic
#778231 #317782 #823177
tetradic
#778231 #318264 #3C3182 #82314F
square
#778231 #318264 #3C3182 #82314F
split-complementary
#778231 #314F82 #643182
monochromatic
#26290F #4E5620 #778231 #A0AE42 #B9C668
Accessibility & contrast
On white
4.18
#778231 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#778231 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778231
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778231 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B28
Deuteranopia (green-blind)
#8A7C36
Tritanopia (blue-blind)
#7E7B71
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #778231; /* rgb */ color: rgb(119, 130, 49); /* oklch */ color: oklch(58.0% 0.106 116.3);
Tailwind
colors: {
custom: {
50: '#a0a66d',
500: '#778231',
950: '#000000',
},
}SCSS
$custom: #778231; $custom-light: #a0a66d; $custom-dark: #000000;
JSON
{
"hex": "#778231",
"rgb": {
"r": 119,
"g": 130,
"b": 49
},
"hsl": {
"h": 68.148,
"s": 45.251,
"l": 35.098
},
"oklch": {
"l": 0.58034,
"c": 0.10598,
"h": 116.3
},
"luminance": 0.20109
}Semantic roles & 50–950 ramp
primary
#778231
secondary
#6C62AD
accent
#53D565
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A