#398D23#398D23

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

Color values

HEX#398D23
RGBrgb(57, 141, 35)
HSLhsl(108, 60%, 35%)
HSVhsv(108, 75%, 55%)
CMYKcmyk(59.6%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.88, -45.19, 46.14)
CIE-LCHlch(51.88, 64.58, 134.41°)
OKLaboklab(57.02% -0.124 0.1041)
OKLCHoklch(57.02% 0.162 140)
XYZxyz(11.5151, 20.0399, 4.8511)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D23 #77238D
analogous
#6E8D23 #398D23 #238D42
triadic
#398D23 #23398D #8D2339
tetradic
#398D23 #236E8D #77238D #8D4223
square
#398D23 #236E8D #77238D #8D4223
split-complementary
#398D23 #42238D #8D236E
monochromatic
#112B0B #255C17 #398D23 #4DBE2F #70D555

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D23#FFFFFF#000000##000000
##398D231.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)
#91800F
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#2F8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d23;
/* rgb */ color: rgb(57, 141, 35);
/* oklch */ color: oklch(57.0% 0.162 140.0);
Tailwind
colors: {
  custom: {
    50: '#7aaf65',
    500: '#398d23',
    950: '#000000',
  },
}
SCSS
$custom: #398d23;
$custom-light: #7aaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#398d23",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 107.547,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.16195,
    "h": 140
  },
  "luminance": 0.20041
}

Semantic roles & 50–950 ramp

primary
#398D23
secondary
#A453B9
accent
#44E3C2
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D23

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

Preview Lab → · Contrast checker → · Palette generator →

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