#38791C#38791C
#38791C is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.141 H 138.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #38791C |
|---|---|
| RGB | rgb(56, 121, 28) |
| HSL | hsl(102, 62%, 29%) |
| HSV | hsv(102, 77%, 47%) |
| CMYK | cmyk(53.7%, 0%, 76.9%, 52.5%) |
| CIE-LAB | lab(45.08, -38.13, 41.97) |
| CIE-LCH | lch(45.08, 56.70, 132.26°) |
| OKLab | oklab(51.39% -0.1054 0.0944) |
| OKLCH | oklch(51.39% 0.141 138.1) |
| XYZ | xyz(8.6776, 14.5987, 3.4589) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.33
Dark Grass Green
#388004
ΔE00 3.45
Green
#008000
ΔE00 4.44
Darkish Green
#287C37
ΔE00 5.30
Forestgreen (CSS)
#228B22
ΔE00 6.63
Avocado
#568203
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38791C #5D1C79
analogous
#67791C #38791C #1C792E
triadic
#38791C #1C3879 #791C38
tetradic
#38791C #1C6779 #5D1C79 #792E1C
square
#38791C #1C6779 #5D1C79 #792E1C
split-complementary
#38791C #2E1C79 #791C67
monochromatic
#0C1906 #214710 #38791C #4FAB28 #6AD23D
Accessibility & contrast
On white
5.36
#38791C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#38791C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38791C
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38791C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38791C | 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)
#7D6E09
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#337567
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #38791c; /* rgb */ color: rgb(56, 121, 28); /* oklch */ color: oklch(51.4% 0.141 138.1);
Tailwind
colors: {
custom: {
50: '#76a05f',
500: '#38791c',
950: '#000000',
},
}SCSS
$custom: #38791c; $custom-light: #76a05f; $custom-dark: #000000;
JSON
{
"hex": "#38791c",
"rgb": {
"r": 56,
"g": 121,
"b": 28
},
"hsl": {
"h": 101.935,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.51388,
"c": 0.14148,
"h": 138.1
},
"luminance": 0.14599
}Semantic roles & 50–950 ramp
primary
#38791C
secondary
#8D44AD
accent
#42E5B4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79