#398B23#398B23

#398B23 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.159 H 139.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#398B23
RGBrgb(57, 139, 35)
HSLhsl(107, 60%, 34%)
HSVhsv(107, 75%, 55%)
CMYKcmyk(59%, 0%, 74.8%, 45.5%)
CIE-LABlab(51.22, -44.43, 45.47)
CIE-LCHlch(51.22, 63.57, 134.34°)
OKLaboklab(56.47% -0.122 0.1027)
OKLCHoklch(56.47% 0.159 139.9)
XYZxyz(11.2228, 19.4555, 4.7536)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B23 #75238B
analogous
#6D8B23 #398B23 #238B41
triadic
#398B23 #23398B #8B2339
tetradic
#398B23 #236D8B #75238B #8B4123
square
#398B23 #236D8B #75238B #8B4123
split-complementary
#398B23 #41238B #8B236D
monochromatic
#11290A #255A17 #398B23 #4DBC2F #6FD454

Accessibility & contrast

On white

4.29
#398B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#398B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B23
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B23#FFFFFF#000000##000000
##398B231.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#2F8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b23;
/* rgb */ color: rgb(57, 139, 35);
/* oklch */ color: oklch(56.5% 0.159 139.9);
Tailwind
colors: {
  custom: {
    50: '#79ae65',
    500: '#398b23',
    950: '#000000',
  },
}
SCSS
$custom: #398b23;
$custom-light: #79ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#398b23",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 107.308,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.15946,
    "h": 139.9
  },
  "luminance": 0.19456
}

Semantic roles & 50–950 ramp

primary
#398B23
secondary
#A252B8
accent
#45E3C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B23

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

Preview Lab → · Contrast checker → · Palette generator →

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