#398E15#398E15

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

Color values

HEX#398E15
RGBrgb(57, 142, 21)
HSLhsl(102, 74%, 32%)
HSVhsv(102, 85%, 56%)
CMYKcmyk(59.9%, 0%, 85.2%, 44.3%)
CIE-LABlab(52.14, -46.44, 50.91)
CIE-LCHlch(52.14, 68.91, 132.37°)
OKLaboklab(57.21% -0.1282 0.112)
OKLCHoklch(57.21% 0.17 138.8)
XYZxyz(11.4952, 20.2690, 4.0159)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E15 #6A158E
analogous
#768E15 #398E15 #158E2E
triadic
#398E15 #15398E #8E1539
tetradic
#398E15 #15768E #6A158E #8E2E15
square
#398E15 #15768E #6A158E #8E2E15
split-complementary
#398E15 #2E158E #8E1576
monochromatic
#0E2305 #24590D #398E15 #4EC31D #6DE23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398E15#FFFFFF#000000##000000
##398E151.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)
#928100
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#308978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e15;
/* rgb */ color: rgb(57, 142, 21);
/* oklch */ color: oklch(57.2% 0.170 138.8);
Tailwind
colors: {
  custom: {
    50: '#7ab05f',
    500: '#398e15',
    950: '#000000',
  },
}
SCSS
$custom: #398e15;
$custom-light: #7ab05f;
$custom-dark: #000000;
JSON
{
  "hex": "#398e15",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 21
  },
  "hsl": {
    "h": 102.149,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.17024,
    "h": 138.8
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#398E15
secondary
#9A3DC2
accent
#37F1BA
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398E15

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

Preview Lab → · Contrast checker → · Palette generator →

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