#398C27#398C27

#398C27 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.158 H 140.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#398C27
RGBrgb(57, 140, 39)
HSLhsl(109, 56%, 35%)
HSVhsv(109, 72%, 55%)
CMYKcmyk(59.3%, 0%, 72.1%, 45.1%)
CIE-LABlab(51.58, -44.48, 44.26)
CIE-LCHlch(51.58, 62.75, 135.14°)
OKLaboklab(56.78% -0.1219 0.1008)
OKLCHoklch(56.78% 0.158 140.4)
XYZxyz(11.4311, 19.7715, 5.1330)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C27 #7A278C
analogous
#6B8C27 #398C27 #278C47
triadic
#398C27 #27398C #8C2739
tetradic
#398C27 #276B8C #7A278C #8C4727
square
#398C27 #276B8C #7A278C #8C4727
split-complementary
#398C27 #47278C #8C276B
monochromatic
#122C0C #265C1A #398C27 #4CBC34 #71D25C

Accessibility & contrast

On white

4.24
#398C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#398C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C27
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C27#FFFFFF#000000##000000
##398C271.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F17
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#2E8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c27;
/* rgb */ color: rgb(57, 140, 39);
/* oklch */ color: oklch(56.8% 0.158 140.4);
Tailwind
colors: {
  custom: {
    50: '#79ae67',
    500: '#398c27',
    950: '#000000',
  },
}
SCSS
$custom: #398c27;
$custom-light: #79ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#398c27",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 109.307,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56781,
    "c": 0.15814,
    "h": 140.4
  },
  "luminance": 0.19773
}

Semantic roles & 50–950 ramp

primary
#398C27
secondary
#A658B7
accent
#48E0C5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398C27

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

Preview Lab → · Contrast checker → · Palette generator →

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