#38831D#38831D

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

Color values

HEX#38831D
RGBrgb(56, 131, 29)
HSLhsl(104, 64%, 31%)
HSVhsv(104, 78%, 51%)
CMYKcmyk(57.3%, 0%, 77.9%, 48.6%)
CIE-LABlab(48.46, -42.06, 44.94)
CIE-LCHlch(48.46, 61.55, 133.11°)
OKLaboklab(54.18% -0.1159 0.1008)
OKLCHoklch(54.18% 0.154 139)
XYZxyz(9.9686, 17.1612, 3.9493)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38831D #681D83
analogous
#6B831D #38831D #1D8335
triadic
#38831D #1D3883 #831D38
tetradic
#38831D #1D6B83 #681D83 #83351D
square
#38831D #1D6B83 #681D83 #83351D
split-complementary
#38831D #351D83 #831D6B
monochromatic
#0D1F07 #235112 #38831D #4DB528 #6BD645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38831D#FFFFFF#000000##FFFFFF
##38831D1.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)
#877706
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#307E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #38831d;
/* rgb */ color: rgb(56, 131, 29);
/* oklch */ color: oklch(54.2% 0.154 139.0);
Tailwind
colors: {
  custom: {
    50: '#78a861',
    500: '#38831d',
    950: '#000000',
  },
}
SCSS
$custom: #38831d;
$custom-light: #78a861;
$custom-dark: #000000;
JSON
{
  "hex": "#38831d",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 104.118,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.15357,
    "h": 139
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#38831D
secondary
#9846B6
accent
#41E7BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #38831D

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

Preview Lab → · Contrast checker → · Palette generator →

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