#398A13#398A13

#398A13 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#398A13
RGBrgb(57, 138, 19)
HSLhsl(101, 76%, 31%)
HSVhsv(101, 86%, 54%)
CMYKcmyk(58.7%, 0%, 86.2%, 45.9%)
CIE-LABlab(50.80, -45.04, 50.23)
CIE-LCHlch(50.80, 67.47, 131.89°)
OKLaboklab(56.1% -0.1245 0.1103)
OKLCHoklch(56.1% 0.166 138.5)
XYZxyz(10.8929, 19.0929, 3.7272)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A13 #64138A
analogous
#748A13 #398A13 #138A28
triadic
#398A13 #13398A #8A1339
tetradic
#398A13 #13748A #64138A #8A2813
square
#398A13 #13748A #64138A #8A2813
split-complementary
#398A13 #28138A #8A1374
monochromatic
#0D1E04 #23540C #398A13 #4FC01A #6CE334

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398A13#FFFFFF#000000##000000
##398A131.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: #398a13;
/* rgb */ color: rgb(57, 138, 19);
/* oklch */ color: oklch(56.1% 0.166 138.5);
Tailwind
colors: {
  custom: {
    50: '#7aad5e',
    500: '#398a13',
    950: '#000000',
  },
}
SCSS
$custom: #398a13;
$custom-light: #7aad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#398a13",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 19
  },
  "hsl": {
    "h": 100.84,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.16636,
    "h": 138.5
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#398A13
secondary
#943ABE
accent
#35F2B6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398A13

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

Preview Lab → · Contrast checker → · Palette generator →

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