#398C17#398C17

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

Color values

HEX#398C17
RGBrgb(57, 140, 23)
HSLhsl(103, 72%, 32%)
HSVhsv(103, 84%, 55%)
CMYKcmyk(59.3%, 0%, 83.6%, 45.1%)
CIE-LABlab(51.48, -45.59, 49.76)
CIE-LCHlch(51.48, 67.49, 132.50°)
OKLaboklab(56.67% -0.1258 0.1099)
OKLCHoklch(56.67% 0.167 138.9)
XYZxyz(11.2196, 19.6869, 4.0192)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C17 #6A178C
analogous
#748C17 #398C17 #178C30
triadic
#398C17 #17398C #8C1739
tetradic
#398C17 #17748C #6A178C #8C3017
square
#398C17 #17748C #6A178C #8C3017
split-complementary
#398C17 #30178C #8C1774
monochromatic
#0E2306 #24570E #398C17 #4EC120 #6DDF3E

Accessibility & contrast

On white

4.25
#398C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#398C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C17
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C17#FFFFFF#000000##000000
##398C171.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#308777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c17;
/* rgb */ color: rgb(57, 140, 23);
/* oklch */ color: oklch(56.7% 0.167 138.9);
Tailwind
colors: {
  custom: {
    50: '#7aae60',
    500: '#398c17',
    950: '#000000',
  },
}
SCSS
$custom: #398c17;
$custom-light: #7aae60;
$custom-dark: #000000;
JSON
{
  "hex": "#398c17",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 102.564,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.16706,
    "h": 138.9
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#398C17
secondary
#9A3FBF
accent
#39EFBA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #398C17

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

Preview Lab → · Contrast checker → · Palette generator →

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