#398D29#398D29

#398D29 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.158 H 140.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#398D29
RGBrgb(57, 141, 41)
HSLhsl(110, 55%, 36%)
HSVhsv(110, 71%, 55%)
CMYKcmyk(59.6%, 0%, 70.9%, 44.7%)
CIE-LABlab(51.93, -44.69, 43.81)
CIE-LCHlch(51.93, 62.58, 135.57°)
OKLaboklab(57.07% -0.1223 0.1001)
OKLCHoklch(57.07% 0.158 140.7)
XYZxyz(11.6119, 20.0787, 5.3610)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D29 #7D298D
analogous
#6B8D29 #398D29 #298D4B
triadic
#398D29 #29398D #8D2939
tetradic
#398D29 #296B8D #7D298D #8D4B29
square
#398D29 #296B8D #7D298D #8D4B29
split-complementary
#398D29 #4B298D #8D296B
monochromatic
#132E0D #265E1B #398D29 #4CBC37 #72D160

Accessibility & contrast

On white

4.19
#398D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#398D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D29
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D29#FFFFFF#000000##000000
##398D291.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801A
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#2E8879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d29;
/* rgb */ color: rgb(57, 141, 41);
/* oklch */ color: oklch(57.1% 0.158 140.7);
Tailwind
colors: {
  custom: {
    50: '#79af68',
    500: '#398d29',
    950: '#000000',
  },
}
SCSS
$custom: #398d29;
$custom-light: #79af68;
$custom-dark: #000000;
JSON
{
  "hex": "#398d29",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 110.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57074,
    "c": 0.15803,
    "h": 140.7
  },
  "luminance": 0.2008
}

Semantic roles & 50–950 ramp

primary
#398D29
secondary
#A85BB6
accent
#4ADEC6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D29

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

Preview Lab → · Contrast checker → · Palette generator →

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