#38901C#38901C
#38901C is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.170 H 139.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #38901C |
|---|---|
| RGB | rgb(56, 144, 28) |
| HSL | hsl(106, 67%, 34%) |
| HSV | hsv(106, 81%, 56%) |
| CMYK | cmyk(61.1%, 0%, 80.6%, 43.5%) |
| CIE-LAB | lab(52.81, -47.06, 49.46) |
| CIE-LCH | lch(52.81, 68.27, 133.57°) |
| OKLab | oklab(57.77% -0.1294 0.1101) |
| OKLCH | oklch(57.77% 0.17 139.6) |
| XYZ | xyz(11.8132, 20.8700, 4.5042) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
True Green
#089404
ΔE00 2.81
Forestgreen (CSS)
#228B22
ΔE00 3.05
Emerald Green
#028F1E
ΔE00 3.18
Irish Green
#019529
ΔE00 3.78
Grass Green
#3F9B0B
ΔE00 4.20
Grassy Green
#419C03
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38901C #741C90
analogous
#72901C #38901C #1C903A
triadic
#38901C #1C3890 #901C38
tetradic
#38901C #1C7290 #741C90 #903A1C
square
#38901C #1C7290 #741C90 #903A1C
split-complementary
#38901C #3A1C90 #901C72
monochromatic
#102A08 #245D12 #38901C #4CC326 #6EDC4A
Accessibility & contrast
On white
4.06
#38901C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#38901C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #38901C
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38901C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##38901C | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#2D8B7B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #38901c; /* rgb */ color: rgb(56, 144, 28); /* oklch */ color: oklch(57.8% 0.170 139.6);
Tailwind
colors: {
custom: {
50: '#7ab162',
500: '#38901c',
950: '#000000',
},
}SCSS
$custom: #38901c; $custom-light: #7ab162; $custom-dark: #000000;
JSON
{
"hex": "#38901c",
"rgb": {
"r": 56,
"g": 144,
"b": 28
},
"hsl": {
"h": 105.517,
"s": 67.442,
"l": 33.725
},
"oklch": {
"l": 0.57765,
"c": 0.16988,
"h": 139.6
},
"luminance": 0.20871
}Semantic roles & 50–950 ramp
primary
#38901C
secondary
#A24ABE
accent
#3DEAC1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A