#398F19#398F19

#398F19 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.170 H 139.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#398F19
RGBrgb(57, 143, 25)
HSLhsl(104, 70%, 33%)
HSVhsv(104, 83%, 56%)
CMYKcmyk(60.1%, 0%, 82.5%, 43.9%)
CIE-LABlab(52.49, -46.60, 50.10)
CIE-LCHlch(52.49, 68.43, 132.93°)
OKLaboklab(57.51% -0.1284 0.1109)
OKLCHoklch(57.51% 0.17 139.2)
XYZxyz(11.6848, 20.5839, 4.2769)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F19 #6F198F
analogous
#748F19 #398F19 #198F34
triadic
#398F19 #19398F #8F1939
tetradic
#398F19 #19748F #6F198F #8F3419
square
#398F19 #19748F #6F198F #8F3419
split-complementary
#398F19 #34198F #8F1974
monochromatic
#0F2707 #245B10 #398F19 #4EC322 #6EDE44

Accessibility & contrast

On white

4.10
#398F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#398F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F19
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F19#FFFFFF#000000##000000
##398F191.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#2F8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f19;
/* rgb */ color: rgb(57, 143, 25);
/* oklch */ color: oklch(57.5% 0.170 139.2);
Tailwind
colors: {
  custom: {
    50: '#7ab161',
    500: '#398f19',
    950: '#000000',
  },
}
SCSS
$custom: #398f19;
$custom-light: #7ab161;
$custom-dark: #000000;
JSON
{
  "hex": "#398f19",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 103.729,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57508,
    "c": 0.16969,
    "h": 139.2
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#398F19
secondary
#9E44BF
accent
#3BEDBD
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #398F19

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

Preview Lab → · Contrast checker → · Palette generator →

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