#38701F#38701F
#38701F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.9% C 0.127 H 137.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #38701F |
|---|---|
| RGB | rgb(56, 112, 31) |
| HSL | hsl(101, 57%, 28%) |
| HSV | hsv(101, 72%, 44%) |
| CMYK | cmyk(50%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(42.04, -34.10, 37.66) |
| CIE-LCH | lch(42.04, 50.80, 132.16°) |
| OKLab | oklab(48.9% -0.0943 0.0858) |
| OKLCH | oklch(48.9% 0.127 137.7) |
| XYZ | xyz(7.6721, 12.5275, 3.3098) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 5.30
Darkish Green
#287C37
ΔE00 6.00
Darkgreen
#006400
ΔE00 6.02
Dark Grass Green
#388004
ΔE00 6.57
Darkolivegreen
#556B2F
ΔE00 6.70
Green
#008000
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38701F #571F70
analogous
#60701F #38701F #1F702E
triadic
#38701F #1F3870 #701F38
tetradic
#38701F #1F6070 #571F70 #702E1F
square
#38701F #1F6070 #571F70 #702E1F
split-complementary
#38701F #2E1F70 #701F60
monochromatic
#0C1807 #204012 #38701F #50A02C #6ACA3F
Accessibility & contrast
On white
5.99
#38701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#38701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38701F
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38701F | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#346C60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #38701f; /* rgb */ color: rgb(56, 112, 31); /* oklch */ color: oklch(48.9% 0.127 137.7);
Tailwind
colors: {
custom: {
50: '#749960',
500: '#38701f',
950: '#000000',
},
}SCSS
$custom: #38701f; $custom-light: #749960; $custom-dark: #000000;
JSON
{
"hex": "#38701f",
"rgb": {
"r": 56,
"g": 112,
"b": 31
},
"hsl": {
"h": 101.481,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48897,
"c": 0.12747,
"h": 137.7
},
"luminance": 0.12528
}Semantic roles & 50–950 ramp
primary
#38701F
secondary
#8747A4
accent
#48E0B1
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79