#398C24#398C24

#398C24 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.160 H 140.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#398C24
RGBrgb(57, 140, 36)
HSLhsl(108, 59%, 35%)
HSVhsv(108, 74%, 55%)
CMYKcmyk(59.3%, 0%, 74.3%, 45.1%)
CIE-LABlab(51.56, -44.73, 45.43)
CIE-LCHlch(51.56, 63.75, 134.56°)
OKLaboklab(56.76% -0.1227 0.1028)
OKLCHoklch(56.76% 0.16 140.1)
XYZxyz(11.3834, 19.7524, 4.8814)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C24 #77248C
analogous
#6D8C24 #398C24 #248C43
triadic
#398C24 #24398C #8C2439
tetradic
#398C24 #246D8C #77248C #8C4324
square
#398C24 #246D8C #77248C #8C4324
split-complementary
#398C24 #43248C #8C246D
monochromatic
#112B0B #255B17 #398C24 #4DBD31 #70D457

Accessibility & contrast

On white

4.24
#398C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#398C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C24
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C24#FFFFFF#000000##000000
##398C241.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F11
Deuteranopia (green-blind)
#86782F
Tritanopia (blue-blind)
#2F8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c24;
/* rgb */ color: rgb(57, 140, 36);
/* oklch */ color: oklch(56.8% 0.160 140.1);
Tailwind
colors: {
  custom: {
    50: '#79ae66',
    500: '#398c24',
    950: '#000000',
  },
}
SCSS
$custom: #398c24;
$custom-light: #79ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#398c24",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 107.885,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56757,
    "c": 0.16008,
    "h": 140.1
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#398C24
secondary
#A454B8
accent
#46E2C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398C24

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

Preview Lab → · Contrast checker → · Palette generator →

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