#789E38#789E38
#789E38 is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.137 H 127.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #789E38 |
|---|---|
| RGB | rgb(120, 158, 56) |
| HSL | hsl(82, 48%, 42%) |
| HSV | hsv(82, 65%, 62%) |
| CMYK | cmyk(24.1%, 0%, 64.6%, 38%) |
| CIE-LAB | lab(60.54, -29.17, 47.53) |
| CIE-LCH | lch(60.54, 55.76, 121.54°) |
| OKLab | oklab(64.99% -0.0829 0.109) |
| OKLCH | oklch(64.99% 0.137 127.3) |
| XYZ | xyz(20.6864, 28.7319, 8.1966) |
| Luminance | 0.2873 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 4.22
Flat Green
#699D4C
ΔE00 5.12
Ugly Green
#7A9703
ΔE00 5.31
Avocado Green
#87A922
ΔE00 5.40
Olivedrab
#6B8E23
ΔE00 5.47
Asparagus
#77AB56
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#789E38 #5E389E
analogous
#9E9138 #789E38 #459E38
triadic
#789E38 #38789E #9E3878
tetradic
#789E38 #389E91 #5E389E #9E3845
square
#789E38 #389E91 #5E389E #9E3845
split-complementary
#789E38 #38459E #91389E
monochromatic
#334418 #567128 #789E38 #98C252 #B3D27F
Accessibility & contrast
On white
3.11
#789E38 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#789E38 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #789E38
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##789E38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##789E38 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6942B
Deuteranopia (green-blind)
#A19140
Tritanopia (blue-blind)
#7C9789
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #789e38; /* rgb */ color: rgb(120, 158, 56); /* oklch */ color: oklch(65.0% 0.137 127.3);
Tailwind
colors: {
custom: {
50: '#a2ba73',
500: '#789e38',
950: '#000000',
},
}SCSS
$custom: #789e38; $custom-light: #a2ba73; $custom-dark: #000000;
JSON
{
"hex": "#789e38",
"rgb": {
"r": 120,
"g": 158,
"b": 56
},
"hsl": {
"h": 82.353,
"s": 47.664,
"l": 41.961
},
"oklch": {
"l": 0.64991,
"c": 0.13697,
"h": 127.3
},
"luminance": 0.28732
}Semantic roles & 50–950 ramp
primary
#789E38
secondary
#9077BB
accent
#51D783
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B