#398D2D#398D2D

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

Color values

HEX#398D2D
RGBrgb(57, 141, 45)
HSLhsl(113, 52%, 36%)
HSVhsv(113, 68%, 55%)
CMYKcmyk(59.6%, 0%, 68.1%, 44.7%)
CIE-LABlab(51.96, -44.31, 42.15)
CIE-LCHlch(51.96, 61.15, 136.43°)
OKLaboklab(57.11% -0.121 0.0971)
OKLCHoklch(57.11% 0.155 141.3)
XYZxyz(11.6853, 20.1080, 5.7476)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D2D #812D8D
analogous
#698D2D #398D2D #2D8D51
triadic
#398D2D #2D398D #8D2D39
tetradic
#398D2D #2D698D #812D8D #8D512D
square
#398D2D #2D698D #812D8D #8D512D
split-complementary
#398D2D #512D8D #8D2D69
monochromatic
#13300F #265F1E #398D2D #4CBB3C #73CE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D2D#FFFFFF#000000##000000
##398D2D1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918020
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#2D8979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d2d;
/* rgb */ color: rgb(57, 141, 45);
/* oklch */ color: oklch(57.1% 0.155 141.3);
Tailwind
colors: {
  custom: {
    50: '#79af6b',
    500: '#398d2d',
    950: '#000000',
  },
}
SCSS
$custom: #398d2d;
$custom-light: #79af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#398d2d",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 112.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.15516,
    "h": 141.3
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#398D2D
secondary
#AA61B5
accent
#4DDBC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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