#398E2F#398E2F

#398E2F is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.155 H 141.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#398E2F
RGBrgb(57, 142, 47)
HSLhsl(114, 50%, 37%)
HSVhsv(114, 67%, 56%)
CMYKcmyk(59.9%, 0%, 66.9%, 44.3%)
CIE-LABlab(52.31, -44.49, 41.65)
CIE-LCHlch(52.31, 60.94, 136.89°)
OKLaboklab(57.41% -0.1214 0.0963)
OKLCHoklch(57.41% 0.155 141.6)
XYZxyz(11.8728, 20.4200, 6.0046)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E2F #842F8E
analogous
#698E2F #398E2F #2F8E54
triadic
#398E2F #2F398E #8E2F39
tetradic
#398E2F #2F698E #842F8E #8E542F
square
#398E2F #2F698E #842F8E #8E542F
split-complementary
#398E2F #542F8E #8E2F69
monochromatic
#143211 #276020 #398E2F #4BBC3E #74CE6A

Accessibility & contrast

On white

4.13
#398E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#398E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E2F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E2F#FFFFFF#000000##000000
##398E2F1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#2C8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e2f;
/* rgb */ color: rgb(57, 142, 47);
/* oklch */ color: oklch(57.4% 0.155 141.6);
Tailwind
colors: {
  custom: {
    50: '#79b06c',
    500: '#398e2f',
    950: '#000000',
  },
}
SCSS
$custom: #398e2f;
$custom-light: #79b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#398e2f",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 113.684,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57406,
    "c": 0.15495,
    "h": 141.6
  },
  "luminance": 0.20421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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