#399227#399227

#399227 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.4% C 0.166 H 140.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#399227
RGBrgb(57, 146, 39)
HSLhsl(110, 58%, 36%)
HSVhsv(110, 73%, 57%)
CMYKcmyk(61%, 0%, 73.3%, 42.7%)
CIE-LABlab(53.57, -46.75, 46.32)
CIE-LCHlch(53.57, 65.81, 135.27°)
OKLaboklab(58.43% -0.128 0.1051)
OKLCHoklch(58.43% 0.166 140.6)
XYZxyz(12.3319, 21.5730, 5.4332)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#399227 #802792
analogous
#6F9227 #399227 #27924B
triadic
#399227 #273992 #922739
tetradic
#399227 #276F92 #802792 #924B27
square
#399227 #276F92 #802792 #924B27
split-complementary
#399227 #4B2792 #92276F
monochromatic
#13310D #26621A #399227 #4CC234 #73D45F

Accessibility & contrast

On white

3.95
#399227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#399227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #399227
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##399227#FFFFFF#000000##000000
##3992271.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968515
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#2C8D7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #399227;
/* rgb */ color: rgb(57, 146, 39);
/* oklch */ color: oklch(58.4% 0.166 140.6);
Tailwind
colors: {
  custom: {
    50: '#7ab368',
    500: '#399227',
    950: '#000000',
  },
}
SCSS
$custom: #399227;
$custom-light: #7ab368;
$custom-dark: #000000;
JSON
{
  "hex": "#399227",
  "rgb": {
    "r": 57,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 109.907,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58428,
    "c": 0.1656,
    "h": 140.6
  },
  "luminance": 0.21574
}

Semantic roles & 50–950 ramp

primary
#399227
secondary
#AA5BBA
accent
#47E1C7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #399227

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

Preview Lab → · Contrast checker → · Palette generator →

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