#38701C#38701C
#38701C is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.9% C 0.130 H 137.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #38701C |
|---|---|
| RGB | rgb(56, 112, 28) |
| HSL | hsl(100, 60%, 27%) |
| HSV | hsv(100, 75%, 44%) |
| CMYK | cmyk(50%, 0%, 75%, 56.1%) |
| CIE-LAB | lab(42.02, -34.35, 38.89) |
| CIE-LCH | lch(42.02, 51.89, 131.45°) |
| OKLab | oklab(48.87% -0.0952 0.088) |
| OKLCH | oklch(48.87% 0.13 137.3) |
| XYZ | xyz(7.6344, 12.5124, 3.1112) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 5.22
Darkgreen
#006400
ΔE00 5.97
Darkish Green
#287C37
ΔE00 6.30
Dark Grass Green
#388004
ΔE00 6.34
Darkolivegreen
#556B2F
ΔE00 6.78
Green
#008000
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38701C #541C70
analogous
#62701C #38701C #1C702A
triadic
#38701C #1C3870 #701C38
tetradic
#38701C #1C6270 #541C70 #702A1C
square
#38701C #1C6270 #541C70 #702A1C
split-complementary
#38701C #2A1C70 #701C62
monochromatic
#0C1806 #203F10 #38701C #50A128 #6ACD39
Accessibility & contrast
On white
6.00
#38701C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#38701C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38701C
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38701C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38701C | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74660E
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#356C60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #38701c; /* rgb */ color: rgb(56, 112, 28); /* oklch */ color: oklch(48.9% 0.130 137.3);
Tailwind
colors: {
custom: {
50: '#74995e',
500: '#38701c',
950: '#000000',
},
}SCSS
$custom: #38701c; $custom-light: #74995e; $custom-dark: #000000;
JSON
{
"hex": "#38701c",
"rgb": {
"r": 56,
"g": 112,
"b": 28
},
"hsl": {
"h": 100,
"s": 60,
"l": 27.451
},
"oklch": {
"l": 0.4887,
"c": 0.12959,
"h": 137.3
},
"luminance": 0.12513
}Semantic roles & 50–950 ramp
primary
#38701C
secondary
#8443A5
accent
#45E3AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79