#398F2D#398F2D

#398F2D is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.158 H 141.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#398F2D
RGBrgb(57, 143, 45)
HSLhsl(113, 52%, 37%)
HSVhsv(113, 69%, 56%)
CMYKcmyk(60.1%, 0%, 68.5%, 43.9%)
CIE-LABlab(52.62, -45.08, 42.86)
CIE-LCHlch(52.62, 62.20, 136.44°)
OKLaboklab(57.66% -0.1231 0.0986)
OKLCHoklch(57.66% 0.158 141.3)
XYZxyz(11.9829, 20.7032, 5.8468)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F2D #832D8F
analogous
#6A8F2D #398F2D #2D8F52
triadic
#398F2D #2D398F #8F2D39
tetradic
#398F2D #2D6A8F #832D8F #8F522D
square
#398F2D #2D6A8F #832D8F #8F522D
split-complementary
#398F2D #522D8F #8F2D6A
monochromatic
#143210 #26601E #398F2D #4CBE3C #74CF67

Accessibility & contrast

On white

4.08
#398F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#398F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F2D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F2D#FFFFFF#000000##000000
##398F2D1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#2C8B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398f2d;
/* rgb */ color: rgb(57, 143, 45);
/* oklch */ color: oklch(57.7% 0.158 141.3);
Tailwind
colors: {
  custom: {
    50: '#79b16b',
    500: '#398f2d',
    950: '#000000',
  },
}
SCSS
$custom: #398f2d;
$custom-light: #79b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#398f2d",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 112.653,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.15772,
    "h": 141.3
  },
  "luminance": 0.20704
}

Semantic roles & 50–950 ramp

primary
#398F2D
secondary
#AC62B6
accent
#4CDCCA
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #398F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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