#398A19#398A19

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

Color values

HEX#398A19
RGBrgb(57, 138, 25)
HSLhsl(103, 69%, 32%)
HSVhsv(103, 82%, 54%)
CMYKcmyk(58.7%, 0%, 81.9%, 45.9%)
CIE-LABlab(50.82, -44.73, 48.55)
CIE-LCHlch(50.82, 66.01, 132.66°)
OKLaboklab(56.13% -0.1234 0.1077)
OKLCHoklch(56.13% 0.164 138.9)
XYZxyz(10.9509, 19.1161, 4.0322)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A19 #6A198A
analogous
#728A19 #398A19 #198A32
triadic
#398A19 #19398A #8A1939
tetradic
#398A19 #19728A #6A198A #8A3219
square
#398A19 #19728A #6A198A #8A3219
split-complementary
#398A19 #32198A #8A1972
monochromatic
#0E2206 #245610 #398A19 #4EBE22 #6DDD41

Accessibility & contrast

On white

4.35
#398A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##398A19#FFFFFF#000000##000000
##398A191.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#308575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a19;
/* rgb */ color: rgb(57, 138, 25);
/* oklch */ color: oklch(56.1% 0.164 138.9);
Tailwind
colors: {
  custom: {
    50: '#79ad60',
    500: '#398a19',
    950: '#000000',
  },
}
SCSS
$custom: #398a19;
$custom-light: #79ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#398a19",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 25
  },
  "hsl": {
    "h": 103.009,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5613,
    "c": 0.16376,
    "h": 138.9
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#398A19
secondary
#9A42BD
accent
#3CECBA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398A19

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

Preview Lab → · Contrast checker → · Palette generator →

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