#398A24#398A24

#398A24 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.158 H 140.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#398A24
RGBrgb(57, 138, 36)
HSLhsl(108, 59%, 34%)
HSVhsv(108, 74%, 54%)
CMYKcmyk(58.7%, 0%, 73.9%, 45.9%)
CIE-LABlab(50.89, -43.96, 44.75)
CIE-LCHlch(50.89, 62.73, 134.49°)
OKLaboklab(56.21% -0.1207 0.1014)
OKLCHoklch(56.21% 0.158 140)
XYZxyz(11.0938, 19.1732, 4.7849)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A24 #75248A
analogous
#6C8A24 #398A24 #248A42
triadic
#398A24 #24398A #8A2439
tetradic
#398A24 #246C8A #75248A #8A4224
square
#398A24 #246C8A #75248A #8A4224
split-complementary
#398A24 #42248A #8A246C
monochromatic
#11290B #255917 #398A24 #4DBB31 #6FD356

Accessibility & contrast

On white

4.34
#398A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#398A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A24
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A24#FFFFFF#000000##000000
##398A241.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D12
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#2F8576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a24;
/* rgb */ color: rgb(57, 138, 36);
/* oklch */ color: oklch(56.2% 0.158 140.0);
Tailwind
colors: {
  custom: {
    50: '#79ad65',
    500: '#398a24',
    950: '#000000',
  },
}
SCSS
$custom: #398a24;
$custom-light: #79ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#398a24",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 107.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.15759,
    "h": 140
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398A24

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

Preview Lab → · Contrast checker → · Palette generator →

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