#398B27#398B27

#398B27 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.157 H 140.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#398B27
RGBrgb(57, 139, 39)
HSLhsl(109, 56%, 35%)
HSVhsv(109, 72%, 55%)
CMYKcmyk(59%, 0%, 71.9%, 45.5%)
CIE-LABlab(51.24, -44.09, 43.92)
CIE-LCHlch(51.24, 62.23, 135.11°)
OKLaboklab(56.51% -0.1208 0.1)
OKLCHoklch(56.51% 0.157 140.4)
XYZxyz(11.2857, 19.4806, 5.0845)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B27 #79278B
analogous
#6B8B27 #398B27 #278B47
triadic
#398B27 #27398B #8B2739
tetradic
#398B27 #276B8B #79278B #8B4727
square
#398B27 #276B8B #79278B #8B4727
split-complementary
#398B27 #47278B #8B276B
monochromatic
#122B0C #255B1A #398B27 #4DBB34 #71D15B

Accessibility & contrast

On white

4.29
#398B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#398B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B27
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B27#FFFFFF#000000##000000
##398B271.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E17
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#2F8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b27;
/* rgb */ color: rgb(57, 139, 39);
/* oklch */ color: oklch(56.5% 0.157 140.4);
Tailwind
colors: {
  custom: {
    50: '#79ae67',
    500: '#398b27',
    950: '#000000',
  },
}
SCSS
$custom: #398b27;
$custom-light: #79ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#398b27",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 109.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.15687,
    "h": 140.4
  },
  "luminance": 0.19482
}

Semantic roles & 50–950 ramp

primary
#398B27
secondary
#A558B6
accent
#48DFC4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B27

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

Preview Lab → · Contrast checker → · Palette generator →

#398B27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva