#398A15#398A15

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

Color values

HEX#398A15
RGBrgb(57, 138, 21)
HSLhsl(102, 74%, 31%)
HSVhsv(102, 85%, 54%)
CMYKcmyk(58.7%, 0%, 84.8%, 45.9%)
CIE-LABlab(50.80, -44.95, 49.70)
CIE-LCHlch(50.80, 67.01, 132.12°)
OKLaboklab(56.11% -0.1242 0.1095)
OKLCHoklch(56.11% 0.166 138.6)
XYZxyz(10.9108, 19.1000, 3.8210)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A15 #66158A
analogous
#738A15 #398A15 #158A2B
triadic
#398A15 #15398A #8A1539
tetradic
#398A15 #15738A #66158A #8A2B15
square
#398A15 #15738A #66158A #8A2B15
split-complementary
#398A15 #2B158A #8A1573
monochromatic
#0D2005 #23550D #398A15 #4FBF1D #6CE139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398A15#FFFFFF#000000##000000
##398A151.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)
#847624
Tritanopia (blue-blind)
#318575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a15;
/* rgb */ color: rgb(57, 138, 21);
/* oklch */ color: oklch(56.1% 0.166 138.6);
Tailwind
colors: {
  custom: {
    50: '#7aad5f',
    500: '#398a15',
    950: '#000000',
  },
}
SCSS
$custom: #398a15;
$custom-light: #7aad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#398a15",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 101.538,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56108,
    "c": 0.16555,
    "h": 138.6
  },
  "luminance": 0.19101
}

Semantic roles & 50–950 ramp

primary
#398A15
secondary
#963DBE
accent
#38F0B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398A15

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

Preview Lab → · Contrast checker → · Palette generator →

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