#398D2F#398D2F

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

Color values

HEX#398D2F
RGBrgb(57, 141, 47)
HSLhsl(114, 50%, 37%)
HSVhsv(114, 67%, 55%)
CMYKcmyk(59.6%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.98, -44.10, 41.28)
CIE-LCHlch(51.98, 60.41, 136.89°)
OKLaboklab(57.13% -0.1204 0.0955)
OKLCHoklch(57.13% 0.154 141.6)
XYZxyz(11.7247, 20.1238, 5.9552)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D2F #832F8D
analogous
#688D2F #398D2F #2F8D54
triadic
#398D2F #2F398D #8D2F39
tetradic
#398D2F #2F688D #832F8D #8D542F
square
#398D2F #2F688D #832F8D #8D542F
split-complementary
#398D2F #542F8D #8D2F68
monochromatic
#143110 #265F20 #398D2F #4CBB3E #74CD69

Accessibility & contrast

On white

4.18
#398D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#398D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D2F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D2F#FFFFFF#000000##000000
##398D2F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#2D897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d2f;
/* rgb */ color: rgb(57, 141, 47);
/* oklch */ color: oklch(57.1% 0.154 141.6);
Tailwind
colors: {
  custom: {
    50: '#79af6c',
    500: '#398d2f',
    950: '#000000',
  },
}
SCSS
$custom: #398d2f;
$custom-light: #79af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#398d2f",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 113.617,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.15365,
    "h": 141.6
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#398D2F
secondary
#AC64B4
accent
#4EDACB
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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