#398131#398131

#398131 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.9% C 0.136 H 141.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#398131
RGBrgb(57, 129, 49)
HSLhsl(114, 45%, 35%)
HSVhsv(114, 62%, 51%)
CMYKcmyk(55.8%, 0%, 62%, 49.4%)
CIE-LABlab(48.00, -39.08, 35.90)
CIE-LCHlch(48.00, 53.07, 137.43°)
OKLaboklab(53.86% -0.1066 0.0842)
OKLCHoklch(53.86% 0.136 141.7)
XYZxyz(10.0915, 16.7913, 5.6144)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398131 #793181
analogous
#618131 #398131 #318151
triadic
#398131 #313981 #813139
tetradic
#398131 #316181 #793181 #815131
square
#398131 #316181 #793181 #815131
split-complementary
#398131 #513181 #813161
monochromatic
#12280F #255520 #398131 #4DAD42 #71C567

Accessibility & contrast

On white

4.82
#398131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#398131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398131
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398131#FFFFFF#000000##FFFFFF
##3981311.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#307D70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398131;
/* rgb */ color: rgb(57, 129, 49);
/* oklch */ color: oklch(53.9% 0.136 141.7);
Tailwind
colors: {
  custom: {
    50: '#77a66c',
    500: '#398131',
    950: '#000000',
  },
}
SCSS
$custom: #398131;
$custom-light: #77a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#398131",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 49
  },
  "hsl": {
    "h": 114,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53858,
    "c": 0.1359,
    "h": 141.7
  },
  "luminance": 0.16792
}

Semantic roles & 50–950 ramp

primary
#398131
secondary
#A561AD
accent
#53D5C8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398131

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

Preview Lab → · Contrast checker → · Palette generator →

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