#387231#387231

#387231 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.7% C 0.115 H 141.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#387231
RGBrgb(56, 114, 49)
HSLhsl(114, 40%, 32%)
HSVhsv(114, 57%, 45%)
CMYKcmyk(50.9%, 0%, 57%, 55.3%)
CIE-LABlab(42.91, -32.96, 29.94)
CIE-LCHlch(42.91, 44.53, 137.75°)
OKLaboklab(49.67% -0.09 0.0713)
OKLCHoklch(49.67% 0.115 141.6)
XYZxyz(8.2022, 13.0965, 5.0008)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387231 #6B3172
analogous
#597231 #387231 #31724B
triadic
#387231 #313872 #723138
tetradic
#387231 #315972 #6B3172 #724B31
square
#387231 #315972 #6B3172 #724B31
split-complementary
#387231 #4B3172 #723159
monochromatic
#0E1C0C #23471F #387231 #4D9D43 #6CBB62

Accessibility & contrast

On white

5.80
#387231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#387231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387231
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387231#FFFFFF#000000##FFFFFF
##3872311.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6D6336
Tritanopia (blue-blind)
#316F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #387231;
/* rgb */ color: rgb(56, 114, 49);
/* oklch */ color: oklch(49.7% 0.115 141.6);
Tailwind
colors: {
  custom: {
    50: '#749b6b',
    500: '#387231',
    950: '#000000',
  },
}
SCSS
$custom: #387231;
$custom-light: #749b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#387231",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 113.538,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49668,
    "c": 0.11482,
    "h": 141.6
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#387231
secondary
#9B5CA3
accent
#58D0C3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #387231

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

Preview Lab → · Contrast checker → · Palette generator →

#387231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva