#398950#398950

#398950 is a mid, moderate green. Relative luminance 0.193; OKLCH L 56.5% C 0.118 H 150.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#398950
RGBrgb(57, 137, 80)
HSLhsl(137, 41%, 38%)
HSVhsv(137, 58%, 54%)
CMYKcmyk(58.4%, 0%, 41.6%, 46.3%)
CIE-LABlab(51.08, -37.76, 23.41)
CIE-LCHlch(51.08, 44.42, 148.20°)
OKLaboklab(56.53% -0.1022 0.0581)
OKLCHoklch(56.53% 0.118 150.4)
XYZxyz(12.0801, 19.3393, 10.6841)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398950 #893972
analogous
#4A8939 #398950 #398978
triadic
#398950 #503989 #895039
tetradic
#398950 #394A89 #893972 #897839
square
#398950 #394A89 #893972 #897839
split-complementary
#398950 #783989 #89394A
monochromatic
#15331E #275E37 #398950 #4BB469 #76C68D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398950#FFFFFF#000000##000000
##3989501.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)
#8A7E4C
Deuteranopia (green-blind)
#7F7754
Tritanopia (blue-blind)
#24877B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398950;
/* rgb */ color: rgb(57, 137, 80);
/* oklch */ color: oklch(56.5% 0.118 150.4);
Tailwind
colors: {
  custom: {
    50: '#77ac82',
    500: '#398950',
    950: '#000000',
  },
}
SCSS
$custom: #398950;
$custom-light: #77ac82;
$custom-dark: #000000;
JSON
{
  "hex": "#398950",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 80
  },
  "hsl": {
    "h": 137.25,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.11757,
    "h": 150.4
  },
  "luminance": 0.1934
}

Semantic roles & 50–950 ramp

primary
#398950
secondary
#AF6F9D
accent
#57AED1
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398950

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

Preview Lab → · Contrast checker → · Palette generator →

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