#38791E#38791E

#38791E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.140 H 138.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#38791E
RGBrgb(56, 121, 30)
HSLhsl(103, 60%, 30%)
HSVhsv(103, 75%, 47%)
CMYKcmyk(53.7%, 0%, 75.2%, 52.5%)
CIE-LABlab(45.09, -37.98, 41.21)
CIE-LCHlch(45.09, 56.04, 132.67°)
OKLaboklab(51.4% -0.1048 0.0931)
OKLCHoklch(51.4% 0.14 138.4)
XYZxyz(8.7023, 14.6086, 3.5892)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38791E #5F1E79
analogous
#66791E #38791E #1E7932
triadic
#38791E #1E3879 #791E38
tetradic
#38791E #1E6679 #5F1E79 #79321E
square
#38791E #1E6679 #5F1E79 #79321E
split-complementary
#38791E #321E79 #791E66
monochromatic
#0B1906 #214812 #38791E #4FAA2A #6AD041

Accessibility & contrast

On white

5.35
#38791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#38791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38791E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38791E#FFFFFF#000000##FFFFFF
##38791E1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0E
Deuteranopia (green-blind)
#746927
Tritanopia (blue-blind)
#337567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #38791e;
/* rgb */ color: rgb(56, 121, 30);
/* oklch */ color: oklch(51.4% 0.140 138.4);
Tailwind
colors: {
  custom: {
    50: '#76a060',
    500: '#38791e',
    950: '#000000',
  },
}
SCSS
$custom: #38791e;
$custom-light: #76a060;
$custom-dark: #000000;
JSON
{
  "hex": "#38791e",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 102.857,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.1402,
    "h": 138.4
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#38791E
secondary
#8F46AD
accent
#44E3B6
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #38791E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#38791E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva