#398A14#398A14

#398A14 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.166 H 138.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#398A14
RGBrgb(57, 138, 20)
HSLhsl(101, 75%, 31%)
HSVhsv(101, 86%, 54%)
CMYKcmyk(58.7%, 0%, 85.5%, 45.9%)
CIE-LABlab(50.80, -45.00, 49.97)
CIE-LCHlch(50.80, 67.24, 132.00°)
OKLaboklab(56.1% -0.1243 0.1099)
OKLCHoklch(56.1% 0.166 138.5)
XYZxyz(10.9017, 19.0964, 3.7732)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A14 #65148A
analogous
#748A14 #398A14 #148A2A
triadic
#398A14 #14398A #8A1439
tetradic
#398A14 #14748A #65148A #8A2A14
square
#398A14 #14748A #65148A #8A2A14
split-complementary
#398A14 #2A148A #8A1474
monochromatic
#0D1F05 #23550C #398A14 #4FBF1C #6CE236

Accessibility & contrast

On white

4.36
#398A14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#398A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A14
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A14#FFFFFF#000000##000000
##398A141.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#318575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a14;
/* rgb */ color: rgb(57, 138, 20);
/* oklch */ color: oklch(56.1% 0.166 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aad5e',
    500: '#398a14',
    950: '#000000',
  },
}
SCSS
$custom: #398a14;
$custom-light: #7aad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#398a14",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 20
  },
  "hsl": {
    "h": 101.186,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56104,
    "c": 0.16597,
    "h": 138.5
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#398A14
secondary
#953CBE
accent
#36F1B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398A14

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

Preview Lab → · Contrast checker → · Palette generator →

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