#38831E#38831E

#38831E is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.153 H 139.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#38831E
RGBrgb(56, 131, 30)
HSLhsl(105, 63%, 32%)
HSVhsv(105, 77%, 51%)
CMYKcmyk(57.3%, 0%, 77.1%, 48.6%)
CIE-LABlab(48.47, -41.99, 44.58)
CIE-LCHlch(48.47, 61.24, 133.28°)
OKLaboklab(54.19% -0.1156 0.1002)
OKLCHoklch(54.19% 0.153 139.1)
XYZxyz(9.9811, 17.1663, 4.0155)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38831E #691E83
analogous
#6B831E #38831E #1E8336
triadic
#38831E #1E3883 #831E38
tetradic
#38831E #1E6B83 #691E83 #83361E
square
#38831E #1E6B83 #691E83 #83361E
split-complementary
#38831E #361E83 #831E6B
monochromatic
#0D1F07 #235113 #38831E #4DB529 #6BD547

Accessibility & contrast

On white

4.74
#38831E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#38831E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38831E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38831E#FFFFFF#000000##FFFFFF
##38831E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877709
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#307E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #38831e;
/* rgb */ color: rgb(56, 131, 30);
/* oklch */ color: oklch(54.2% 0.153 139.1);
Tailwind
colors: {
  custom: {
    50: '#77a861',
    500: '#38831e',
    950: '#000000',
  },
}
SCSS
$custom: #38831e;
$custom-light: #77a861;
$custom-dark: #000000;
JSON
{
  "hex": "#38831e",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 104.554,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.15299,
    "h": 139.1
  },
  "luminance": 0.17167
}

Semantic roles & 50–950 ramp

primary
#38831E
secondary
#9947B6
accent
#42E6BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #38831E

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

Preview Lab → · Contrast checker → · Palette generator →

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