#398E1D#398E1D

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

Color values

HEX#398E1D
RGBrgb(57, 142, 29)
HSLhsl(105, 66%, 34%)
HSVhsv(105, 80%, 56%)
CMYKcmyk(59.9%, 0%, 79.6%, 44.3%)
CIE-LABlab(52.18, -45.99, 48.55)
CIE-LCHlch(52.18, 66.88, 133.45°)
OKLaboklab(57.26% -0.1265 0.1083)
OKLCHoklch(57.26% 0.167 139.4)
XYZxyz(11.5816, 20.3035, 4.4708)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E1D #721D8E
analogous
#718E1D #398E1D #1D8E39
triadic
#398E1D #1D398E #8E1D39
tetradic
#398E1D #1D718E #721D8E #8E391D
square
#398E1D #1D718E #721D8E #8E391D
split-complementary
#398E1D #391D8E #8E1D71
monochromatic
#102808 #255B13 #398E1D #4DC127 #6FDA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398E1D#FFFFFF#000000##000000
##398E1D1.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)
#887A2A
Tritanopia (blue-blind)
#2F8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e1d;
/* rgb */ color: rgb(57, 142, 29);
/* oklch */ color: oklch(57.3% 0.167 139.4);
Tailwind
colors: {
  custom: {
    50: '#7ab063',
    500: '#398e1d',
    950: '#000000',
  },
}
SCSS
$custom: #398e1d;
$custom-light: #7ab063;
$custom-dark: #000000;
JSON
{
  "hex": "#398e1d",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 105.133,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57257,
    "c": 0.16655,
    "h": 139.4
  },
  "luminance": 0.20305
}

Semantic roles & 50–950 ramp

primary
#398E1D
secondary
#A04ABD
accent
#3FE9BF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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