#398D24#398D24

#398D24 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.161 H 140.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#398D24
RGBrgb(57, 141, 36)
HSLhsl(108, 59%, 35%)
HSVhsv(108, 74%, 55%)
CMYKcmyk(59.6%, 0%, 74.5%, 44.7%)
CIE-LABlab(51.89, -45.11, 45.76)
CIE-LCHlch(51.89, 64.26, 134.59°)
OKLaboklab(57.03% -0.1238 0.1035)
OKLCHoklch(57.03% 0.161 140.1)
XYZxyz(11.5301, 20.0460, 4.9304)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D24 #78248D
analogous
#6E8D24 #398D24 #248D44
triadic
#398D24 #24398D #8D2439
tetradic
#398D24 #246E8D #78248D #8D4424
square
#398D24 #246E8D #78248D #8D4424
split-complementary
#398D24 #44248D #8D246E
monochromatic
#122B0B #255C18 #398D24 #4DBE30 #70D457

Accessibility & contrast

On white

4.19
#398D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#398D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D24
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D24#FFFFFF#000000##000000
##398D241.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918011
Deuteranopia (green-blind)
#86792F
Tritanopia (blue-blind)
#2E8879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d24;
/* rgb */ color: rgb(57, 141, 36);
/* oklch */ color: oklch(57.0% 0.161 140.1);
Tailwind
colors: {
  custom: {
    50: '#79af66',
    500: '#398d24',
    950: '#000000',
  },
}
SCSS
$custom: #398d24;
$custom-light: #79af66;
$custom-dark: #000000;
JSON
{
  "hex": "#398d24",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 108,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.16132,
    "h": 140.1
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#398D24
secondary
#A454B8
accent
#45E3C3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D24

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

Preview Lab → · Contrast checker → · Palette generator →

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