#398E2D#398E2D

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

Color values

HEX#398E2D
RGBrgb(57, 142, 45)
HSLhsl(113, 52%, 37%)
HSVhsv(113, 68%, 56%)
CMYKcmyk(59.9%, 0%, 68.3%, 44.3%)
CIE-LABlab(52.29, -44.69, 42.50)
CIE-LCHlch(52.29, 61.68, 136.44°)
OKLaboklab(57.39% -0.1221 0.0978)
OKLCHoklch(57.39% 0.156 141.3)
XYZxyz(11.8334, 20.4043, 5.7969)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E2D #822D8E
analogous
#6A8E2D #398E2D #2D8E52
triadic
#398E2D #2D398E #8E2D39
tetradic
#398E2D #2D6A8E #822D8E #8E522D
square
#398E2D #2D6A8E #822D8E #8E522D
split-complementary
#398E2D #522D8E #8E2D6A
monochromatic
#143110 #26601E #398E2D #4CBC3C #74CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398E2D#FFFFFF#000000##000000
##398E2D1.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)
#928120
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#2D8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e2d;
/* rgb */ color: rgb(57, 142, 45);
/* oklch */ color: oklch(57.4% 0.156 141.3);
Tailwind
colors: {
  custom: {
    50: '#79b06b',
    500: '#398e2d',
    950: '#000000',
  },
}
SCSS
$custom: #398e2d;
$custom-light: #79b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#398e2d",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 112.577,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.15645,
    "h": 141.3
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#398E2D
secondary
#AB61B5
accent
#4CDBCA
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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