#398A23#398A23

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

Color values

HEX#398A23
RGBrgb(57, 138, 35)
HSLhsl(107, 60%, 34%)
HSVhsv(107, 75%, 54%)
CMYKcmyk(58.7%, 0%, 74.6%, 45.9%)
CIE-LABlab(50.88, -44.04, 45.13)
CIE-LCHlch(50.88, 63.06, 134.30°)
OKLaboklab(56.2% -0.1209 0.102)
OKLCHoklch(56.2% 0.158 139.9)
XYZxyz(11.0787, 19.1672, 4.7056)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A23 #74238A
analogous
#6D8A23 #398A23 #238A40
triadic
#398A23 #23398A #8A2339
tetradic
#398A23 #236D8A #74238A #8A4023
square
#398A23 #236D8A #74238A #8A4023
split-complementary
#398A23 #40238A #8A236D
monochromatic
#11280A #255917 #398A23 #4DBB2F #6FD454

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398A23#FFFFFF#000000##000000
##398A231.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)
#8E7D10
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#2F8576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a23;
/* rgb */ color: rgb(57, 138, 35);
/* oklch */ color: oklch(56.2% 0.158 139.9);
Tailwind
colors: {
  custom: {
    50: '#79ad65',
    500: '#398a23',
    950: '#000000',
  },
}
SCSS
$custom: #398a23;
$custom-light: #79ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#398a23",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 107.184,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56198,
    "c": 0.15822,
    "h": 139.9
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#398A23
secondary
#A251B7
accent
#45E3C1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398A23

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

Preview Lab → · Contrast checker → · Palette generator →

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