#398D19#398D19

#398D19 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.167 H 139.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#398D19
RGBrgb(57, 141, 25)
HSLhsl(103, 70%, 33%)
HSVhsv(103, 82%, 55%)
CMYKcmyk(59.6%, 0%, 82.3%, 44.7%)
CIE-LABlab(51.82, -45.86, 49.48)
CIE-LCHlch(51.82, 67.47, 132.82°)
OKLaboklab(56.96% -0.1264 0.1096)
OKLCHoklch(56.96% 0.167 139.1)
XYZxyz(11.3872, 19.9888, 4.1777)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D19 #6D198D
analogous
#738D19 #398D19 #198D33
triadic
#398D19 #19398D #8D1939
tetradic
#398D19 #19738D #6D198D #8D3319
square
#398D19 #19738D #6D198D #8D3319
split-complementary
#398D19 #33198D #8D1973
monochromatic
#0F2507 #245910 #398D19 #4EC122 #6DDE43

Accessibility & contrast

On white

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

On black

5.00
#398D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D19
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D19#FFFFFF#000000##000000
##398D191.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398d19;
/* rgb */ color: rgb(57, 141, 25);
/* oklch */ color: oklch(57.0% 0.167 139.1);
Tailwind
colors: {
  custom: {
    50: '#7aaf61',
    500: '#398d19',
    950: '#000000',
  },
}
SCSS
$custom: #398d19;
$custom-light: #7aaf61;
$custom-dark: #000000;
JSON
{
  "hex": "#398d19",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 103.448,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.16733,
    "h": 139.1
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

primary
#398D19
secondary
#9D43BF
accent
#3BEDBC
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398D19

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

Preview Lab → · Contrast checker → · Palette generator →

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