#398031#398031

#398031 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.6% C 0.135 H 141.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#398031
RGBrgb(57, 128, 49)
HSLhsl(114, 45%, 35%)
HSVhsv(114, 62%, 50%)
CMYKcmyk(55.5%, 0%, 61.7%, 49.8%)
CIE-LABlab(47.66, -38.67, 35.51)
CIE-LCHlch(47.66, 52.50, 137.44°)
OKLaboklab(53.58% -0.1055 0.0834)
OKLCHoklch(53.58% 0.135 141.7)
XYZxyz(9.9604, 16.5291, 5.5707)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398031 #783180
analogous
#618031 #398031 #318051
triadic
#398031 #313980 #803139
tetradic
#398031 #316180 #783180 #805131
square
#398031 #316180 #783180 #805131
split-complementary
#398031 #513180 #803161
monochromatic
#12270F #255420 #398031 #4DAC42 #70C567

Accessibility & contrast

On white

4.88
#398031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#398031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398031
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398031#FFFFFF#000000##FFFFFF
##3980311.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837529
Deuteranopia (green-blind)
#7A6F37
Tritanopia (blue-blind)
#307C6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #398031;
/* rgb */ color: rgb(57, 128, 49);
/* oklch */ color: oklch(53.6% 0.135 141.7);
Tailwind
colors: {
  custom: {
    50: '#76a56c',
    500: '#398031',
    950: '#000000',
  },
}
SCSS
$custom: #398031;
$custom-light: #76a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#398031",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 49
  },
  "hsl": {
    "h": 113.924,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.13451,
    "h": 141.7
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#398031
secondary
#A461AC
accent
#53D4C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398031

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

Preview Lab → · Contrast checker → · Palette generator →

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