#38731F#38731F
#38731F is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.132 H 138.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #38731F |
|---|---|
| RGB | rgb(56, 115, 31) |
| HSL | hsl(102, 58%, 29%) |
| HSV | hsv(102, 73%, 45%) |
| CMYK | cmyk(51.3%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(43.06, -35.38, 38.72) |
| CIE-LCH | lch(43.06, 52.45, 132.42°) |
| OKLab | oklab(49.74% -0.0977 0.088) |
| OKLCH | oklch(49.74% 0.132 138) |
| XYZ | xyz(8.0087, 13.2006, 3.4220) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.28
Darkish Green
#287C37
ΔE00 5.46
Dark Grass Green
#388004
ΔE00 5.58
Green
#008000
ΔE00 6.16
Darkgreen
#006400
ΔE00 6.61
Darkolivegreen
#556B2F
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38731F #5A1F73
analogous
#62731F #38731F #1F7330
triadic
#38731F #1F3873 #731F38
tetradic
#38731F #1F6273 #5A1F73 #73301F
square
#38731F #1F6273 #5A1F73 #73301F
split-complementary
#38731F #301F73 #731F62
monochromatic
#0C1806 #214312 #38731F #4FA32C #6ACC41
Accessibility & contrast
On white
5.77
#38731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#38731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38731F
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38731F | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#346F62
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #38731f; /* rgb */ color: rgb(56, 115, 31); /* oklch */ color: oklch(49.7% 0.132 138.0);
Tailwind
colors: {
custom: {
50: '#759c60',
500: '#38731f',
950: '#000000',
},
}SCSS
$custom: #38731f; $custom-light: #759c60; $custom-dark: #000000;
JSON
{
"hex": "#38731f",
"rgb": {
"r": 56,
"g": 115,
"b": 31
},
"hsl": {
"h": 102.143,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49736,
"c": 0.13155,
"h": 138
},
"luminance": 0.13201
}Semantic roles & 50–950 ramp
primary
#38731F
secondary
#8A47A7
accent
#47E1B3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79