#398E13#398E13

#398E13 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.171 H 138.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#398E13
RGBrgb(57, 142, 19)
HSLhsl(101, 76%, 32%)
HSVhsv(101, 87%, 56%)
CMYKcmyk(59.9%, 0%, 86.6%, 44.3%)
CIE-LABlab(52.13, -46.54, 51.42)
CIE-LCHlch(52.13, 69.35, 132.15°)
OKLaboklab(57.2% -0.1285 0.1128)
OKLCHoklch(57.2% 0.171 138.7)
XYZxyz(11.4774, 20.2619, 3.9221)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E13 #68138E
analogous
#778E13 #398E13 #138E2A
triadic
#398E13 #13398E #8E1339
tetradic
#398E13 #13778E #68138E #8E2A13
square
#398E13 #13778E #68138E #8E2A13
split-complementary
#398E13 #2A138E #8E1377
monochromatic
#0E2205 #23580C #398E13 #4FC41A #6DE437

Accessibility & contrast

On white

4.16
#398E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#398E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E13
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E13#FFFFFF#000000##000000
##398E131.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#308978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e13;
/* rgb */ color: rgb(57, 142, 19);
/* oklch */ color: oklch(57.2% 0.171 138.7);
Tailwind
colors: {
  custom: {
    50: '#7ab05f',
    500: '#398e13',
    950: '#000000',
  },
}
SCSS
$custom: #398e13;
$custom-light: #7ab05f;
$custom-dark: #000000;
JSON
{
  "hex": "#398e13",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 19
  },
  "hsl": {
    "h": 101.463,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57203,
    "c": 0.17102,
    "h": 138.7
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#398E13
secondary
#983BC2
accent
#35F3B8
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398E13

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

Preview Lab → · Contrast checker → · Palette generator →

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