#38811E#38811E

#38811E is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.150 H 139.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#38811E
RGBrgb(56, 129, 30)
HSLhsl(104, 62%, 31%)
HSVhsv(104, 77%, 51%)
CMYKcmyk(56.6%, 0%, 76.7%, 49.4%)
CIE-LABlab(47.80, -41.20, 43.91)
CIE-LCHlch(47.80, 60.22, 133.17°)
OKLaboklab(53.63% -0.1135 0.0988)
OKLCHoklch(53.63% 0.15 139)
XYZxyz(9.7151, 16.6342, 3.9268)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38811E #671E81
analogous
#69811E #38811E #1E8135
triadic
#38811E #1E3881 #811E38
tetradic
#38811E #1E6981 #671E81 #81351E
square
#38811E #1E6981 #671E81 #81351E
split-complementary
#38811E #351E81 #811E69
monochromatic
#0D1E07 #224F12 #38811E #4EB32A #6BD446

Accessibility & contrast

On white

4.85
#38811E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#38811E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38811E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38811E#FFFFFF#000000##FFFFFF
##38811E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#317C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38811e;
/* rgb */ color: rgb(56, 129, 30);
/* oklch */ color: oklch(53.6% 0.150 139.0);
Tailwind
colors: {
  custom: {
    50: '#77a661',
    500: '#38811e',
    950: '#000000',
  },
}
SCSS
$custom: #38811e;
$custom-light: #77a661;
$custom-dark: #000000;
JSON
{
  "hex": "#38811e",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 104.242,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.15047,
    "h": 139
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#38811E
secondary
#9747B4
accent
#42E5BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #38811E

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

Preview Lab → · Contrast checker → · Palette generator →

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