#398B24#398B24

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

Color values

HEX#398B24
RGBrgb(57, 139, 36)
HSLhsl(108, 59%, 34%)
HSVhsv(108, 74%, 55%)
CMYKcmyk(59%, 0%, 74.1%, 45.5%)
CIE-LABlab(51.22, -44.35, 45.09)
CIE-LCHlch(51.22, 63.24, 134.53°)
OKLaboklab(56.48% -0.1217 0.1021)
OKLCHoklch(56.48% 0.159 140)
XYZxyz(11.2379, 19.4615, 4.8330)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B24 #76248B
analogous
#6D8B24 #398B24 #248B43
triadic
#398B24 #24398B #8B2439
tetradic
#398B24 #246D8B #76248B #8B4324
square
#398B24 #246D8B #76248B #8B4324
split-complementary
#398B24 #43248B #8B246D
monochromatic
#112A0B #255A17 #398B24 #4DBC31 #70D356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398B24#FFFFFF#000000##000000
##398B241.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)
#8F7E12
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#2F8677
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b24;
/* rgb */ color: rgb(57, 139, 36);
/* oklch */ color: oklch(56.5% 0.159 140.0);
Tailwind
colors: {
  custom: {
    50: '#79ae66',
    500: '#398b24',
    950: '#000000',
  },
}
SCSS
$custom: #398b24;
$custom-light: #79ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#398b24",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 107.767,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.15884,
    "h": 140
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#398B24
secondary
#A353B7
accent
#46E2C2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398B24

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

Preview Lab → · Contrast checker → · Palette generator →

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