#38831F#38831F

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

Color values

HEX#38831F
RGBrgb(56, 131, 31)
HSLhsl(105, 62%, 32%)
HSVhsv(105, 76%, 51%)
CMYKcmyk(57.3%, 0%, 76.3%, 48.6%)
CIE-LABlab(48.48, -41.91, 44.22)
CIE-LCHlch(48.48, 60.93, 133.47°)
OKLaboklab(54.19% -0.1154 0.0995)
OKLCHoklch(54.19% 0.152 139.2)
XYZxyz(9.9941, 17.1715, 4.0838)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38831F #6A1F83
analogous
#6A831F #38831F #1F8338
triadic
#38831F #1F3883 #831F38
tetradic
#38831F #1F6A83 #6A1F83 #83381F
square
#38831F #1F6A83 #6A1F83 #83381F
split-complementary
#38831F #381F83 #831F6A
monochromatic
#0E2008 #235213 #38831F #4DB42B #6BD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38831F#FFFFFF#000000##FFFFFF
##38831F1.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)
#87770B
Deuteranopia (green-blind)
#7D7129
Tritanopia (blue-blind)
#307E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #38831f;
/* rgb */ color: rgb(56, 131, 31);
/* oklch */ color: oklch(54.2% 0.152 139.2);
Tailwind
colors: {
  custom: {
    50: '#77a862',
    500: '#38831f',
    950: '#000000',
  },
}
SCSS
$custom: #38831f;
$custom-light: #77a862;
$custom-dark: #000000;
JSON
{
  "hex": "#38831f",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 105,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54193,
    "c": 0.15239,
    "h": 139.2
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#38831F
secondary
#9A48B6
accent
#43E5BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #38831F

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

Preview Lab → · Contrast checker → · Palette generator →

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