#398751#398751

#398751 is a mid, moderate green. Relative luminance 0.188; OKLCH L 56.0% C 0.114 H 151.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#398751
RGBrgb(57, 135, 81)
HSLhsl(138, 41%, 38%)
HSVhsv(138, 58%, 53%)
CMYKcmyk(57.8%, 0%, 40%, 47.1%)
CIE-LABlab(50.44, -36.70, 22.01)
CIE-LCHlch(50.44, 42.80, 149.05°)
OKLaboklab(56.02% -0.0995 0.0548)
OKLCHoklch(56.02% 0.114 151.1)
XYZxyz(11.8357, 18.7908, 10.7863)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398751 #87396F
analogous
#488739 #398751 #398778
triadic
#398751 #513987 #875139
tetradic
#398751 #394887 #87396F #877839
square
#398751 #394887 #87396F #877839
split-complementary
#398751 #783987 #873948
monochromatic
#15311D #275C37 #398751 #4BB26B #75C58E

Accessibility & contrast

On white

4.41
#398751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#398751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398751
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398751#FFFFFF#000000##000000
##3987511.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887D4D
Deuteranopia (green-blind)
#7D7554
Tritanopia (blue-blind)
#248579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398751;
/* rgb */ color: rgb(57, 135, 81);
/* oklch */ color: oklch(56.0% 0.114 151.1);
Tailwind
colors: {
  custom: {
    50: '#77aa82',
    500: '#398751',
    950: '#000000',
  },
}
SCSS
$custom: #398751;
$custom-light: #77aa82;
$custom-dark: #000000;
JSON
{
  "hex": "#398751",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 138.462,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.11356,
    "h": 151.1
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#398751
secondary
#AE6E9A
accent
#57ABD0
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398751

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

Preview Lab → · Contrast checker → · Palette generator →

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