#38945F#38945F
#38945F is a mid, moderate green. Relative luminance 0.228; OKLCH L 59.8% C 0.119 H 154.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #38945F |
|---|---|
| RGB | rgb(56, 148, 95) |
| HSL | hsl(145, 45%, 40%) |
| HSV | hsv(145, 62%, 58%) |
| CMYK | cmyk(62.2%, 0%, 35.8%, 42%) |
| CIE-LAB | lab(54.91, -39.82, 20.18) |
| CIE-LCH | lch(54.91, 44.64, 153.13°) |
| OKLab | oklab(59.76% -0.108 0.0507) |
| OKLCH | oklch(59.76% 0.119 154.9) |
| XYZ | xyz(14.2851, 22.8454, 14.4810) |
| Luminance | 0.2285 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Sea Green
#2E8B57
ΔE00 3.29
Viridian
#1E9167
ΔE00 3.80
Light Forest Green
#4F9153
ΔE00 4.27
Ocean Green
#3D9973
ΔE00 4.56
Greenish
#40A368
ΔE00 4.91
Teal Green
#25A36F
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38945F #94386D
analogous
#3F9438 #38945F #38948D
triadic
#38945F #5F3894 #945F38
tetradic
#38945F #383F94 #94386D #948D38
square
#38945F #383F94 #94386D #948D38
split-complementary
#38945F #8D3894 #94383F
monochromatic
#163B26 #276843 #38945F #4DBC7C #7ACD9D
Accessibility & contrast
On white
3.77
#38945F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#38945F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #38945F
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38945F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##38945F | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#94895C
Deuteranopia (green-blind)
#878062
Tritanopia (blue-blind)
#139286
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #38945f; /* rgb */ color: rgb(56, 148, 95); /* oklch */ color: oklch(59.8% 0.119 154.9);
Tailwind
colors: {
custom: {
50: '#78b48c',
500: '#38945f',
950: '#000000',
},
}SCSS
$custom: #38945f; $custom-light: #78b48c; $custom-dark: #000000;
JSON
{
"hex": "#38945f",
"rgb": {
"r": 56,
"g": 148,
"b": 95
},
"hsl": {
"h": 145.435,
"s": 45.098,
"l": 40
},
"oklch": {
"l": 0.59757,
"c": 0.11934,
"h": 154.9
},
"luminance": 0.22847
}Semantic roles & 50–950 ramp
primary
#38945F
secondary
#B67299
accent
#539ED5
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A110C
muted
#7C807D