#398E19#398E19

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

Color values

HEX#398E19
RGBrgb(57, 142, 25)
HSLhsl(104, 70%, 33%)
HSVhsv(104, 82%, 56%)
CMYKcmyk(59.9%, 0%, 82.4%, 44.3%)
CIE-LABlab(52.16, -46.23, 49.79)
CIE-LCHlch(52.16, 67.95, 132.88°)
OKLaboklab(57.23% -0.1274 0.1103)
OKLCHoklch(57.23% 0.169 139.1)
XYZxyz(11.5353, 20.2850, 4.2270)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E19 #6E198E
analogous
#738E19 #398E19 #198E34
triadic
#398E19 #19398E #8E1939
tetradic
#398E19 #19738E #6E198E #8E3419
square
#398E19 #19738E #6E198E #8E3419
split-complementary
#398E19 #34198E #8E1973
monochromatic
#0F2607 #245A10 #398E19 #4EC222 #6EDE43

Accessibility & contrast

On white

4.15
#398E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#398E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E19
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E19#FFFFFF#000000##000000
##398E191.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#2F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e19;
/* rgb */ color: rgb(57, 142, 25);
/* oklch */ color: oklch(57.2% 0.169 139.1);
Tailwind
colors: {
  custom: {
    50: '#7ab061',
    500: '#398e19',
    950: '#000000',
  },
}
SCSS
$custom: #398e19;
$custom-light: #7ab061;
$custom-dark: #000000;
JSON
{
  "hex": "#398e19",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 103.59,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57233,
    "c": 0.16851,
    "h": 139.1
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398E19

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

Preview Lab → · Contrast checker → · Palette generator →

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