#398E27#398E27

#398E27 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.161 H 140.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#398E27
RGBrgb(57, 142, 39)
HSLhsl(110, 57%, 35%)
HSVhsv(110, 73%, 56%)
CMYKcmyk(59.9%, 0%, 72.5%, 44.3%)
CIE-LABlab(52.24, -45.24, 44.95)
CIE-LCHlch(52.24, 63.78, 135.18°)
OKLaboklab(57.33% -0.1239 0.1022)
OKLCHoklch(57.33% 0.161 140.5)
XYZxyz(11.7260, 20.3613, 5.2313)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E27 #7C278E
analogous
#6C8E27 #398E27 #278E49
triadic
#398E27 #27398E #8E2739
tetradic
#398E27 #276C8E #7C278E #8E4927
square
#398E27 #276C8E #7C278E #8E4927
split-complementary
#398E27 #49278E #8E276C
monochromatic
#122E0D #265E1A #398E27 #4CBE34 #71D25D

Accessibility & contrast

On white

4.14
#398E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#398E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E27
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E27#FFFFFF#000000##000000
##398E271.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#2E897A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e27;
/* rgb */ color: rgb(57, 142, 39);
/* oklch */ color: oklch(57.3% 0.161 140.5);
Tailwind
colors: {
  custom: {
    50: '#7ab068',
    500: '#398e27',
    950: '#000000',
  },
}
SCSS
$custom: #398e27;
$custom-light: #7ab068;
$custom-dark: #000000;
JSON
{
  "hex": "#398e27",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 109.515,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.16064,
    "h": 140.5
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#398E27
secondary
#A759B8
accent
#48E0C6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E27

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

Preview Lab → · Contrast checker → · Palette generator →

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