#399231#399231

#399231 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.5% C 0.159 H 142.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#399231
RGBrgb(57, 146, 49)
HSLhsl(115, 50%, 38%)
HSVhsv(115, 66%, 57%)
CMYKcmyk(61%, 0%, 66.4%, 42.7%)
CIE-LABlab(53.65, -45.82, 42.23)
CIE-LCHlch(53.65, 62.31, 137.33°)
OKLaboklab(58.52% -0.1249 0.0977)
OKLCHoklch(58.52% 0.159 142)
XYZxyz(12.5200, 21.6482, 6.4239)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#399231 #8A3192
analogous
#699231 #399231 #319259
triadic
#399231 #313992 #923139
tetradic
#399231 #316992 #8A3192 #925931
square
#399231 #316992 #8A3192 #925931
split-complementary
#399231 #593192 #923169
monochromatic
#153612 #276422 #399231 #4BBF41 #77CF6F

Accessibility & contrast

On white

3.94
#399231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#399231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #399231
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##399231#FFFFFF#000000##000000
##3992311.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958525
Deuteranopia (green-blind)
#8A7D3A
Tritanopia (blue-blind)
#2B8E7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #399231;
/* rgb */ color: rgb(57, 146, 49);
/* oklch */ color: oklch(58.5% 0.159 142.0);
Tailwind
colors: {
  custom: {
    50: '#7ab36e',
    500: '#399231',
    950: '#000000',
  },
}
SCSS
$custom: #399231;
$custom-light: #7ab36e;
$custom-dark: #000000;
JSON
{
  "hex": "#399231",
  "rgb": {
    "r": 57,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 115.052,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5852,
    "c": 0.15859,
    "h": 142
  },
  "luminance": 0.21649
}

Semantic roles & 50–950 ramp

primary
#399231
secondary
#B069B6
accent
#4FD9CE
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #399231

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

Preview Lab → · Contrast checker → · Palette generator →

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