#38B731#38B731
#38B731 is a light, highly saturated green. Relative luminance 0.349; OKLCH L 68.5% C 0.203 H 142.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #38B731 |
|---|---|
| RGB | rgb(56, 183, 49) |
| HSL | hsl(117, 58%, 45%) |
| HSV | hsv(117, 73%, 72%) |
| CMYK | cmyk(69.4%, 0%, 73.2%, 28.2%) |
| CIE-LAB | lab(65.69, -59.17, 54.91) |
| CIE-LCH | lch(65.69, 80.72, 137.14°) |
| OKLab | oklab(68.48% -0.161 0.1243) |
| OKLCH | oklch(68.48% 0.203 142.3) |
| XYZ | xyz(19.1177, 34.9274, 8.6393) |
| Luminance | 0.3493 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 1.88
Green (survey)
#15B01A
ΔE00 2.73
Kelly Green
#4CBB17
ΔE00 3.35
Kelly Green (survey)
#02AB2E
ΔE00 4.23
Shamrock Green
#02C14D
ΔE00 4.49
Medium Green
#39AD48
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38B731 #B031B7
analogous
#7BB731 #38B731 #31B76D
triadic
#38B731 #3138B7 #B73138
tetradic
#38B731 #317BB7 #B031B7 #B76D31
square
#38B731 #317BB7 #B031B7 #B76D31
split-complementary
#38B731 #6D31B7 #B7317B
monochromatic
#1A5617 #298724 #38B731 #5BD154 #89DE84
Accessibility & contrast
On white
2.63
#38B731 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#38B731 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #38B731
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38B731 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##38B731 | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA618
Deuteranopia (green-blind)
#AC9C3F
Tritanopia (blue-blind)
#16B19D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #38b731; /* rgb */ color: rgb(56, 183, 49); /* oklch */ color: oklch(68.5% 0.203 142.3);
Tailwind
colors: {
custom: {
50: '#81ce72',
500: '#38b731',
950: '#000000',
},
}SCSS
$custom: #38b731; $custom-light: #81ce72; $custom-dark: #000000;
JSON
{
"hex": "#38b731",
"rgb": {
"r": 56,
"g": 183,
"b": 49
},
"hsl": {
"h": 116.866,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.68478,
"c": 0.20341,
"h": 142.3
},
"luminance": 0.34929
}Semantic roles & 50–950 ramp
primary
#38B731
secondary
#C47CC8
accent
#47E1D9
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B