#398D28#398D28

#398D28 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.159 H 140.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#398D28
RGBrgb(57, 141, 40)
HSLhsl(110, 56%, 35%)
HSVhsv(110, 72%, 55%)
CMYKcmyk(59.6%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.92, -44.77, 44.21)
CIE-LCHlch(51.92, 62.92, 135.36°)
OKLaboklab(57.07% -0.1226 0.1008)
OKLCHoklch(57.07% 0.159 140.6)
XYZxyz(11.5947, 20.0718, 5.2703)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D28 #7C288D
analogous
#6B8D28 #398D28 #288D49
triadic
#398D28 #28398D #8D2839
tetradic
#398D28 #286B8D #7C288D #8D4928
square
#398D28 #286B8D #7C288D #8D4928
split-complementary
#398D28 #49288D #8D286B
monochromatic
#122E0D #265D1A #398D28 #4CBD36 #71D15E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D28#FFFFFF#000000##000000
##398D281.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)
#918018
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#2E8879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d28;
/* rgb */ color: rgb(57, 141, 40);
/* oklch */ color: oklch(57.1% 0.159 140.6);
Tailwind
colors: {
  custom: {
    50: '#79af68',
    500: '#398d28',
    950: '#000000',
  },
}
SCSS
$custom: #398d28;
$custom-light: #79af68;
$custom-dark: #000000;
JSON
{
  "hex": "#398d28",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 109.901,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57065,
    "c": 0.15871,
    "h": 140.6
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#398D28
secondary
#A75AB7
accent
#49DFC6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D28

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

Preview Lab → · Contrast checker → · Palette generator →

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