#398151#398151

#398151 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.4% C 0.104 H 152.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#398151
RGBrgb(57, 129, 81)
HSLhsl(140, 39%, 36%)
HSVhsv(140, 56%, 51%)
CMYKcmyk(55.8%, 0%, 37.2%, 49.4%)
CIE-LABlab(48.47, -34.04, 19.39)
CIE-LCHlch(48.47, 39.18, 150.34°)
OKLaboklab(54.4% -0.0924 0.0486)
OKLCHoklch(54.4% 0.104 152.3)
XYZxyz(11.0220, 17.1635, 10.5150)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398151 #813969
analogous
#458139 #398151 #398175
triadic
#398151 #513981 #815139
tetradic
#398151 #394581 #813969 #817539
square
#398151 #394581 #813969 #817539
split-complementary
#398151 #753981 #813945
monochromatic
#132C1C #265736 #398151 #4CAB6C #73C18D

Accessibility & contrast

On white

4.74
#398151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#398151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398151
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398151#FFFFFF#000000##FFFFFF
##3981511.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774E
Deuteranopia (green-blind)
#777054
Tritanopia (blue-blind)
#267F75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398151;
/* rgb */ color: rgb(57, 129, 81);
/* oklch */ color: oklch(54.4% 0.104 152.3);
Tailwind
colors: {
  custom: {
    50: '#76a682',
    500: '#398151',
    950: '#000000',
  },
}
SCSS
$custom: #398151;
$custom-light: #76a682;
$custom-dark: #000000;
JSON
{
  "hex": "#398151",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 140,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.10442,
    "h": 152.3
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#398151
secondary
#AA6B95
accent
#59A7CF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #398151

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

Preview Lab → · Contrast checker → · Palette generator →

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