#778F2A#778F2A
#778F2A is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.1% C 0.128 H 121.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #778F2A |
|---|---|
| RGB | rgb(119, 143, 42) |
| HSL | hsl(74, 55%, 36%) |
| HSV | hsv(74, 71%, 56%) |
| CMYK | cmyk(16.8%, 0%, 70.6%, 43.9%) |
| CIE-LAB | lab(55.82, -23.25, 48.44) |
| CIE-LCH | lch(55.82, 53.73, 115.64°) |
| OKLab | oklab(61.12% -0.0678 0.1089) |
| OKLCH | oklch(61.12% 0.128 121.9) |
| XYZ | xyz(17.8484, 23.7340, 5.8309) |
| Luminance | 0.2373 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Olivedrab
#6B8E23
ΔE00 2.53
Dark Yellow Green
#728F02
ΔE00 2.97
Ugly Green
#7A9703
ΔE00 4.23
Mossy Green
#638B27
ΔE00 4.32
Khaki Green
#728639
ΔE00 4.43
Swamp Green
#748500
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#778F2A #422A8F
analogous
#8F752A #778F2A #458F2A
triadic
#778F2A #2A778F #8F2A77
tetradic
#778F2A #2A8F75 #422A8F #8F2A45
square
#778F2A #2A8F75 #422A8F #8F2A45
split-complementary
#778F2A #2A458F #752A8F
monochromatic
#28300E #50601C #778F2A #9EBE38 #B7D162
Accessibility & contrast
On white
3.65
#778F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#778F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #778F2A
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##778F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##778F2A | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98861A
Deuteranopia (green-blind)
#958632
Tritanopia (blue-blind)
#7D887B
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #778f2a; /* rgb */ color: rgb(119, 143, 42); /* oklch */ color: oklch(61.1% 0.128 121.9);
Tailwind
colors: {
custom: {
50: '#a1af6a',
500: '#778f2a',
950: '#000000',
},
}SCSS
$custom: #778f2a; $custom-light: #a1af6a; $custom-dark: #000000;
JSON
{
"hex": "#778f2a",
"rgb": {
"r": 119,
"g": 143,
"b": 42
},
"hsl": {
"h": 74.257,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.6112,
"c": 0.12831,
"h": 121.9
},
"luminance": 0.23734
}Semantic roles & 50–950 ramp
primary
#778F2A
secondary
#735EB7
accent
#4ADE6D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A