#398A2D#398A2D

#398A2D is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.151 H 141.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#398A2D
RGBrgb(57, 138, 45)
HSLhsl(112, 51%, 36%)
HSVhsv(112, 67%, 54%)
CMYKcmyk(58.7%, 0%, 67.4%, 45.9%)
CIE-LABlab(50.96, -43.14, 41.06)
CIE-LCHlch(50.96, 59.56, 136.41°)
OKLaboklab(56.29% -0.1179 0.0948)
OKLCHoklch(56.29% 0.151 141.2)
XYZxyz(11.2489, 19.2353, 5.6021)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A2D #7E2D8A
analogous
#678A2D #398A2D #2D8A4F
triadic
#398A2D #2D398A #8A2D39
tetradic
#398A2D #2D678A #7E2D8A #8A4F2D
square
#398A2D #2D678A #7E2D8A #8A4F2D
split-complementary
#398A2D #4F2D8A #8A2D67
monochromatic
#132E0F #265C1E #398A2D #4CB83C #72CD65

Accessibility & contrast

On white

4.33
#398A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#398A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A2D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A2D#FFFFFF#000000##000000
##398A2D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E21
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#2E8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a2d;
/* rgb */ color: rgb(57, 138, 45);
/* oklch */ color: oklch(56.3% 0.151 141.2);
Tailwind
colors: {
  custom: {
    50: '#78ad6a',
    500: '#398a2d',
    950: '#000000',
  },
}
SCSS
$custom: #398a2d;
$custom-light: #78ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#398a2d",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 112.258,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.15126,
    "h": 141.2
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#398A2D
secondary
#A860B3
accent
#4DDAC8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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