#38901F#38901F
#38901F is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.168 H 139.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #38901F |
|---|---|
| RGB | rgb(56, 144, 31) |
| HSL | hsl(107, 65%, 34%) |
| HSV | hsv(107, 78%, 56%) |
| CMYK | cmyk(61.1%, 0%, 78.5%, 43.5%) |
| CIE-LAB | lab(52.82, -46.86, 48.49) |
| CIE-LCH | lch(52.82, 67.43, 134.02°) |
| OKLab | oklab(57.78% -0.1287 0.1085) |
| OKLCH | oklch(57.78% 0.168 139.9) |
| XYZ | xyz(11.8509, 20.8851, 4.7028) |
| Luminance | 0.2089 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.89
True Green
#089404
ΔE00 2.90
Emerald Green
#028F1E
ΔE00 3.05
Irish Green
#019529
ΔE00 3.61
Grass Green
#3F9B0B
ΔE00 4.35
Grassy Green
#419C03
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38901F #771F90
analogous
#71901F #38901F #1F903F
triadic
#38901F #1F3890 #901F38
tetradic
#38901F #1F7190 #771F90 #903F1F
square
#38901F #1F7190 #771F90 #903F1F
split-complementary
#38901F #3F1F90 #901F71
monochromatic
#112B09 #245E14 #38901F #4CC22A #6ED950
Accessibility & contrast
On white
4.06
#38901F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#38901F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #38901F
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38901F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##38901F | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#2D8B7B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #38901f; /* rgb */ color: rgb(56, 144, 31); /* oklch */ color: oklch(57.8% 0.168 139.9);
Tailwind
colors: {
custom: {
50: '#7ab164',
500: '#38901f',
950: '#000000',
},
}SCSS
$custom: #38901f; $custom-light: #7ab164; $custom-dark: #000000;
JSON
{
"hex": "#38901f",
"rgb": {
"r": 56,
"g": 144,
"b": 31
},
"hsl": {
"h": 106.726,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.57784,
"c": 0.16832,
"h": 139.9
},
"luminance": 0.20886
}Semantic roles & 50–950 ramp
primary
#38901F
secondary
#A44EBC
accent
#40E8C3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A