#398327#398327

#398327 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.147 H 140.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#398327
RGBrgb(57, 131, 39)
HSLhsl(108, 54%, 33%)
HSVhsv(108, 70%, 51%)
CMYKcmyk(56.5%, 0%, 70.2%, 48.6%)
CIE-LABlab(48.57, -40.96, 41.11)
CIE-LCHlch(48.57, 58.03, 134.89°)
OKLaboklab(54.3% -0.1123 0.0941)
OKLCHoklch(54.3% 0.147 140)
XYZxyz(10.1694, 17.2481, 4.7124)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398327 #712783
analogous
#678327 #398327 #278343
triadic
#398327 #273983 #832739
tetradic
#398327 #276783 #712783 #834327
square
#398327 #276783 #712783 #834327
split-complementary
#398327 #432783 #832767
monochromatic
#10250B #245419 #398327 #4EB235 #6ECD57

Accessibility & contrast

On white

4.72
#398327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#398327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398327
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398327#FFFFFF#000000##FFFFFF
##3983271.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771A
Deuteranopia (green-blind)
#7D712F
Tritanopia (blue-blind)
#317F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398327;
/* rgb */ color: rgb(57, 131, 39);
/* oklch */ color: oklch(54.3% 0.147 140.0);
Tailwind
colors: {
  custom: {
    50: '#78a866',
    500: '#398327',
    950: '#000000',
  },
}
SCSS
$custom: #398327;
$custom-light: #78a866;
$custom-dark: #000000;
JSON
{
  "hex": "#398327",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 39
  },
  "hsl": {
    "h": 108.261,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54301,
    "c": 0.14658,
    "h": 140
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#398327
secondary
#A054B2
accent
#4ADDC1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #398327

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

Preview Lab → · Contrast checker → · Palette generator →

#398327 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva