#398C23#398C23

#398C23 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.161 H 139.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#398C23
RGBrgb(57, 140, 35)
HSLhsl(107, 60%, 34%)
HSVhsv(107, 75%, 55%)
CMYKcmyk(59.3%, 0%, 75%, 45.1%)
CIE-LABlab(51.55, -44.81, 45.80)
CIE-LCHlch(51.55, 64.08, 134.37°)
OKLaboklab(56.75% -0.123 0.1034)
OKLCHoklch(56.75% 0.161 139.9)
XYZxyz(11.3683, 19.7464, 4.8021)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C23 #76238C
analogous
#6E8C23 #398C23 #238C42
triadic
#398C23 #23398C #8C2339
tetradic
#398C23 #236E8C #76238C #8C4223
square
#398C23 #236E8C #76238C #8C4223
split-complementary
#398C23 #42238C #8C236E
monochromatic
#112A0B #255B17 #398C23 #4DBD2F #70D455

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398C23#FFFFFF#000000##000000
##398C231.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)
#907F0F
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#2F8778
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c23;
/* rgb */ color: rgb(57, 140, 35);
/* oklch */ color: oklch(56.7% 0.161 139.9);
Tailwind
colors: {
  custom: {
    50: '#79ae65',
    500: '#398c23',
    950: '#000000',
  },
}
SCSS
$custom: #398c23;
$custom-light: #79ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#398c23",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 107.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.16071,
    "h": 139.9
  },
  "luminance": 0.19747
}

Semantic roles & 50–950 ramp

primary
#398C23
secondary
#A352B8
accent
#45E3C2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398C23

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

Preview Lab → · Contrast checker → · Palette generator →

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