#398752#398752

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

Color values

HEX#398752
RGBrgb(57, 135, 82)
HSLhsl(139, 41%, 38%)
HSVhsv(139, 58%, 53%)
CMYKcmyk(57.8%, 0%, 39.3%, 47.1%)
CIE-LABlab(50.46, -36.52, 21.48)
CIE-LCHlch(50.46, 42.36, 149.54°)
OKLaboklab(56.04% -0.099 0.0536)
OKLCHoklch(56.04% 0.113 151.6)
XYZxyz(11.8734, 18.8059, 10.9852)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398752 #87396E
analogous
#478739 #398752 #398779
triadic
#398752 #523987 #875239
tetradic
#398752 #394787 #87396E #877939
square
#398752 #394787 #87396E #877939
split-complementary
#398752 #793987 #873947
monochromatic
#15311E #275C38 #398752 #4BB26C #75C58F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398752#FFFFFF#000000##000000
##3987521.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)
#877D4E
Deuteranopia (green-blind)
#7D7555
Tritanopia (blue-blind)
#24857A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398752;
/* rgb */ color: rgb(57, 135, 82);
/* oklch */ color: oklch(56.0% 0.113 151.6);
Tailwind
colors: {
  custom: {
    50: '#77aa83',
    500: '#398752',
    950: '#000000',
  },
}
SCSS
$custom: #398752;
$custom-light: #77aa83;
$custom-dark: #000000;
JSON
{
  "hex": "#398752",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 139.231,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.11255,
    "h": 151.6
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#398752
secondary
#AE6E99
accent
#57AAD0
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398752

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

Preview Lab → · Contrast checker → · Palette generator →

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