#398B2D#398B2D

#398B2D is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.153 H 141.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#398B2D
RGBrgb(57, 139, 45)
HSLhsl(112, 51%, 36%)
HSVhsv(112, 68%, 55%)
CMYKcmyk(59%, 0%, 67.6%, 45.5%)
CIE-LABlab(51.29, -43.53, 41.43)
CIE-LCHlch(51.29, 60.09, 136.42°)
OKLaboklab(56.56% -0.1189 0.0956)
OKLCHoklch(56.56% 0.153 141.2)
XYZxyz(11.3931, 19.5236, 5.6502)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B2D #7F2D8B
analogous
#688B2D #398B2D #2D8B50
triadic
#398B2D #2D398B #8B2D39
tetradic
#398B2D #2D688B #7F2D8B #8B502D
square
#398B2D #2D688B #7F2D8B #8B502D
split-complementary
#398B2D #502D8B #8B2D68
monochromatic
#132F0F #265D1E #398B2D #4CB93C #72CD65

Accessibility & contrast

On white

4.28
#398B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#398B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B2D
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B2D#FFFFFF#000000##000000
##398B2D1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E21
Deuteranopia (green-blind)
#847835
Tritanopia (blue-blind)
#2E8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b2d;
/* rgb */ color: rgb(57, 139, 45);
/* oklch */ color: oklch(56.6% 0.153 141.2);
Tailwind
colors: {
  custom: {
    50: '#79ae6b',
    500: '#398b2d',
    950: '#000000',
  },
}
SCSS
$custom: #398b2d;
$custom-light: #79ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#398b2d",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 112.34,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56563,
    "c": 0.15257,
    "h": 141.2
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#398B2D
secondary
#A960B4
accent
#4DDBC9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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