#398951#398951

#398951 is a mid, moderate green. Relative luminance 0.194; OKLCH L 56.6% C 0.117 H 150.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#398951
RGBrgb(57, 137, 81)
HSLhsl(138, 41%, 38%)
HSVhsv(138, 58%, 54%)
CMYKcmyk(58.4%, 0%, 40.9%, 46.3%)
CIE-LABlab(51.10, -37.57, 22.88)
CIE-LCHlch(51.10, 43.99, 148.66°)
OKLaboklab(56.55% -0.1018 0.0569)
OKLCHoklch(56.55% 0.117 150.8)
XYZxyz(12.1173, 19.3542, 10.8802)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398951 #893971
analogous
#498939 #398951 #398979
triadic
#398951 #513989 #895139
tetradic
#398951 #394989 #893971 #897939
square
#398951 #394989 #893971 #897939
split-complementary
#398951 #793989 #893949
monochromatic
#15331E #275E37 #398951 #4BB46B #76C68E

Accessibility & contrast

On white

4.31
#398951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#398951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398951
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398951#FFFFFF#000000##000000
##3989511.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4D
Deuteranopia (green-blind)
#7F7755
Tritanopia (blue-blind)
#24877B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398951;
/* rgb */ color: rgb(57, 137, 81);
/* oklch */ color: oklch(56.6% 0.117 150.8);
Tailwind
colors: {
  custom: {
    50: '#77ac82',
    500: '#398951',
    950: '#000000',
  },
}
SCSS
$custom: #398951;
$custom-light: #77ac82;
$custom-dark: #000000;
JSON
{
  "hex": "#398951",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 81
  },
  "hsl": {
    "h": 138,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56554,
    "c": 0.11656,
    "h": 150.8
  },
  "luminance": 0.19355
}

Semantic roles & 50–950 ramp

primary
#398951
secondary
#AF6F9C
accent
#57ACD1
background
#F7FAF8
surface
#EEF4EF
border
#C9CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398951

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

Preview Lab → · Contrast checker → · Palette generator →

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