#398B2F#398B2F

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

Color values

HEX#398B2F
RGBrgb(57, 139, 47)
HSLhsl(113, 49%, 36%)
HSVhsv(113, 66%, 55%)
CMYKcmyk(59%, 0%, 66.2%, 45.5%)
CIE-LABlab(51.31, -43.32, 40.55)
CIE-LCHlch(51.31, 59.34, 136.89°)
OKLaboklab(56.58% -0.1183 0.0939)
OKLCHoklch(56.58% 0.151 141.5)
XYZxyz(11.4325, 19.5393, 5.8578)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B2F #812F8B
analogous
#678B2F #398B2F #2F8B53
triadic
#398B2F #2F398B #8B2F39
tetradic
#398B2F #2F678B #812F8B #8B532F
square
#398B2F #2F678B #812F8B #8B532F
split-complementary
#398B2F #532F8B #8B2F67
monochromatic
#133010 #265D20 #398B2F #4CB93E #73CC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398B2F#FFFFFF#000000##000000
##398B2F1.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)
#8E7F24
Deuteranopia (green-blind)
#847837
Tritanopia (blue-blind)
#2D8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b2f;
/* rgb */ color: rgb(57, 139, 47);
/* oklch */ color: oklch(56.6% 0.151 141.5);
Tailwind
colors: {
  custom: {
    50: '#79ae6c',
    500: '#398b2f',
    950: '#000000',
  },
}
SCSS
$custom: #398b2f;
$custom-light: #79ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#398b2f",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 113.478,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.15103,
    "h": 141.5
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#398B2F
secondary
#AA63B3
accent
#4FD9CA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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