#778239#778239
#778239 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.098 H 116.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #778239 |
|---|---|
| RGB | rgb(119, 130, 57) |
| HSL | hsl(69, 39%, 37%) |
| HSV | hsv(69, 56%, 51%) |
| CMYK | cmyk(8.5%, 0%, 56.2%, 49%) |
| CIE-LAB | lab(52.04, -15.33, 37.56) |
| CIE-LCH | lch(52.04, 40.57, 112.21°) |
| OKLab | oklab(58.13% -0.0442 0.0879) |
| OKLCH | oklch(58.13% 0.098 116.7) |
| XYZ | xyz(16.3292, 20.1828, 6.9055) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki Green
#728639
ΔE00 2.50
Drab
#828344
ΔE00 3.49
Swamp
#698339
ΔE00 4.00
Dirty Green
#667E2C
ΔE00 4.24
Olive Drab
#6F7632
ΔE00 4.53
Military Green
#667C3E
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778239 #443982
analogous
#826939 #778239 #538239
triadic
#778239 #397782 #823977
tetradic
#778239 #398269 #443982 #823953
square
#778239 #398269 #443982 #823953
split-complementary
#778239 #395382 #693982
monochromatic
#292D14 #505726 #778239 #9EAD4C #B6C274
Accessibility & contrast
On white
4.17
#778239 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#778239 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778239
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778239 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7C32
Deuteranopia (green-blind)
#897D3D
Tritanopia (blue-blind)
#7E7B72
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #778239; /* rgb */ color: rgb(119, 130, 57); /* oklch */ color: oklch(58.1% 0.098 116.7);
Tailwind
colors: {
custom: {
50: '#a0a672',
500: '#778239',
950: '#000000',
},
}SCSS
$custom: #778239; $custom-light: #a0a672; $custom-dark: #000000;
JSON
{
"hex": "#778239",
"rgb": {
"r": 119,
"g": 130,
"b": 57
},
"hsl": {
"h": 69.041,
"s": 39.037,
"l": 36.667
},
"oklch": {
"l": 0.58127,
"c": 0.09838,
"h": 116.7
},
"luminance": 0.20183
}Semantic roles & 50–950 ramp
primary
#778239
secondary
#756CAB
accent
#59CF6B
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F0F08
muted
#7F7F7B