#398D27#398D27

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

Color values

HEX#398D27
RGBrgb(57, 141, 39)
HSLhsl(109, 57%, 35%)
HSVhsv(109, 72%, 55%)
CMYKcmyk(59.6%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.91, -44.86, 44.61)
CIE-LCHlch(51.91, 63.27, 135.16°)
OKLaboklab(57.06% -0.1229 0.1015)
OKLCHoklch(57.06% 0.159 140.5)
XYZxyz(11.5779, 20.0651, 5.1819)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D27 #7B278D
analogous
#6C8D27 #398D27 #278D48
triadic
#398D27 #27398D #8D2739
tetradic
#398D27 #276C8D #7B278D #8D4827
square
#398D27 #276C8D #7B278D #8D4827
split-complementary
#398D27 #48278D #8D276C
monochromatic
#122D0C #265D1A #398D27 #4CBD34 #71D25C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D27#FFFFFF#000000##000000
##398D271.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)
#918017
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#2E8879
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d27;
/* rgb */ color: rgb(57, 141, 39);
/* oklch */ color: oklch(57.1% 0.159 140.5);
Tailwind
colors: {
  custom: {
    50: '#79af67',
    500: '#398d27',
    950: '#000000',
  },
}
SCSS
$custom: #398d27;
$custom-light: #79af67;
$custom-dark: #000000;
JSON
{
  "hex": "#398d27",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 109.412,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.15939,
    "h": 140.5
  },
  "luminance": 0.20066
}

Semantic roles & 50–950 ramp

primary
#398D27
secondary
#A659B7
accent
#48E0C5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #398D27

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

Preview Lab → · Contrast checker → · Palette generator →

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