#38B962#38B962
#38B962 is a light, vivid green. Relative luminance 0.364; OKLCH L 69.6% C 0.168 H 150.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #38B962 |
|---|---|
| RGB | rgb(56, 185, 98) |
| HSL | hsl(140, 54%, 47%) |
| HSV | hsv(140, 70%, 73%) |
| CMYK | cmyk(69.7%, 0%, 47%, 27.5%) |
| CIE-LAB | lab(66.84, -53.92, 34.16) |
| CIE-LCH | lch(66.84, 63.82, 147.65°) |
| OKLab | oklab(69.59% -0.1452 0.0835) |
| OKLCH | oklch(69.59% 0.168 150.1) |
| XYZ | xyz(21.1828, 36.4182, 17.4660) |
| Luminance | 0.3642 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 0.70
Dark Mint
#48C072
ΔE00 2.78
Algae Green
#21C36F
ΔE00 3.16
Dark Mint Green
#20C073
ΔE00 3.34
Shamrock
#01B44C
ΔE00 3.37
Fern
#63B76C
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38B962 #B9388F
analogous
#4EB938 #38B962 #38B9A3
triadic
#38B962 #6238B9 #B96238
tetradic
#38B962 #384EB9 #B9388F #B9A338
square
#38B962 #384EB9 #B9388F #B9A338
split-complementary
#38B962 #A338B9 #B9384E
monochromatic
#1C5B30 #2A8A49 #38B962 #5FCF84 #8EDDA8
Accessibility & contrast
On white
2.53
#38B962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#38B962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #38B962
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38B962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##38B962 | 1.00 | 2.53 | 8.28 | 8.28 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA95B
Deuteranopia (green-blind)
#AA9E68
Tritanopia (blue-blind)
#00B6A4
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #38b962; /* rgb */ color: rgb(56, 185, 98); /* oklch */ color: oklch(69.6% 0.168 150.1);
Tailwind
colors: {
custom: {
50: '#7fcf90',
500: '#38b962',
950: '#000000',
},
}SCSS
$custom: #38b962; $custom-light: #7fcf90; $custom-dark: #000000;
JSON
{
"hex": "#38b962",
"rgb": {
"r": 56,
"g": 185,
"b": 98
},
"hsl": {
"h": 139.535,
"s": 53.527,
"l": 47.255
},
"oklch": {
"l": 0.6959,
"c": 0.16751,
"h": 150.1
},
"luminance": 0.36421
}Semantic roles & 50–950 ramp
primary
#38B962
secondary
#C885B2
accent
#4BADDD
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0B140C
muted
#7C827D