#38791B#38791B
#38791B is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.142 H 138.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #38791B |
|---|---|
| RGB | rgb(56, 121, 27) |
| HSL | hsl(101, 64%, 29%) |
| HSV | hsv(101, 78%, 47%) |
| CMYK | cmyk(53.7%, 0%, 77.7%, 52.5%) |
| CIE-LAB | lab(45.07, -38.21, 42.34) |
| CIE-LCH | lch(45.07, 57.03, 132.06°) |
| OKLab | oklab(51.38% -0.1056 0.095) |
| OKLCH | oklch(51.38% 0.142 138) |
| XYZ | xyz(8.6658, 14.5940, 3.3970) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.33
Dark Grass Green
#388004
ΔE00 3.36
Green
#008000
ΔE00 4.41
Darkish Green
#287C37
ΔE00 5.42
Forestgreen (CSS)
#228B22
ΔE00 6.64
Avocado
#568203
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38791B #5C1B79
analogous
#67791B #38791B #1B792D
triadic
#38791B #1B3879 #791B38
tetradic
#38791B #1B6779 #5C1B79 #792D1B
square
#38791B #1B6779 #5C1B79 #792D1B
split-complementary
#38791B #2D1B79 #791B67
monochromatic
#0C1906 #214710 #38791B #4FAB26 #6AD33B
Accessibility & contrast
On white
5.36
#38791B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#38791B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38791B
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38791B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38791B | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E07
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#337567
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #38791b; /* rgb */ color: rgb(56, 121, 27); /* oklch */ color: oklch(51.4% 0.142 138.0);
Tailwind
colors: {
custom: {
50: '#76a05f',
500: '#38791b',
950: '#000000',
},
}SCSS
$custom: #38791b; $custom-light: #76a05f; $custom-dark: #000000;
JSON
{
"hex": "#38791b",
"rgb": {
"r": 56,
"g": 121,
"b": 27
},
"hsl": {
"h": 101.489,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.5138,
"c": 0.14209,
"h": 138
},
"luminance": 0.14595
}Semantic roles & 50–950 ramp
primary
#38791B
secondary
#8C43AD
accent
#41E7B4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79