#398D15#398D15

#398D15 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.169 H 138.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#398D15
RGBrgb(57, 141, 21)
HSLhsl(102, 74%, 32%)
HSVhsv(102, 85%, 55%)
CMYKcmyk(59.6%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.81, -46.07, 50.61)
CIE-LCHlch(51.81, 68.44, 132.31°)
OKLaboklab(56.94% -0.1272 0.1114)
OKLCHoklch(56.94% 0.169 138.8)
XYZxyz(11.3471, 19.9728, 3.9665)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D15 #69158D
analogous
#758D15 #398D15 #158D2D
triadic
#398D15 #15398D #8D1539
tetradic
#398D15 #15758D #69158D #8D2D15
square
#398D15 #15758D #69158D #8D2D15
split-complementary
#398D15 #2D158D #8D1575
monochromatic
#0E2205 #23580D #398D15 #4FC21D #6DE23B

Accessibility & contrast

On white

4.20
#398D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#398D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D15
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D15#FFFFFF#000000##000000
##398D151.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#308878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398d15;
/* rgb */ color: rgb(57, 141, 21);
/* oklch */ color: oklch(56.9% 0.169 138.8);
Tailwind
colors: {
  custom: {
    50: '#7aaf5f',
    500: '#398d15',
    950: '#000000',
  },
}
SCSS
$custom: #398d15;
$custom-light: #7aaf5f;
$custom-dark: #000000;
JSON
{
  "hex": "#398d15",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 102,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56937,
    "c": 0.16908,
    "h": 138.8
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#398D15
secondary
#993DC1
accent
#37F1B9
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398D15

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

Preview Lab → · Contrast checker → · Palette generator →

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