#388231#388231

#388231 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.138 H 141.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#388231
RGBrgb(56, 130, 49)
HSLhsl(115, 45%, 35%)
HSVhsv(115, 62%, 51%)
CMYKcmyk(56.9%, 0%, 62.3%, 49%)
CIE-LABlab(48.29, -39.78, 36.23)
CIE-LCHlch(48.29, 53.80, 137.67°)
OKLaboklab(54.09% -0.1085 0.0849)
OKLCHoklch(54.09% 0.138 141.9)
XYZxyz(10.1674, 17.0269, 5.6559)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#388231 #7B3182
analogous
#608231 #388231 #318253
triadic
#388231 #313882 #823138
tetradic
#388231 #316082 #7B3182 #825331
square
#388231 #316082 #7B3182 #825331
split-complementary
#388231 #533182 #823160
monochromatic
#12290F #255620 #388231 #4BAE42 #70C668

Accessibility & contrast

On white

4.77
#388231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#388231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #388231
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##388231#FFFFFF#000000##FFFFFF
##3882311.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7B7038
Tritanopia (blue-blind)
#2E7E71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #388231;
/* rgb */ color: rgb(56, 130, 49);
/* oklch */ color: oklch(54.1% 0.138 141.9);
Tailwind
colors: {
  custom: {
    50: '#76a76c',
    500: '#388231',
    950: '#000000',
  },
}
SCSS
$custom: #388231;
$custom-light: #76a76c;
$custom-dark: #000000;
JSON
{
  "hex": "#388231",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 114.815,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54093,
    "c": 0.13777,
    "h": 141.9
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#388231
secondary
#A762AD
accent
#53D5CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #388231

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

Preview Lab → · Contrast checker → · Palette generator →

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