#398750#398750

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

Color values

HEX#398750
RGBrgb(57, 135, 80)
HSLhsl(138, 41%, 38%)
HSVhsv(138, 58%, 53%)
CMYKcmyk(57.8%, 0%, 40.7%, 47.1%)
CIE-LABlab(50.42, -36.89, 22.55)
CIE-LCHlch(50.42, 43.23, 148.57°)
OKLaboklab(56% -0.0999 0.056)
OKLCHoklch(56% 0.115 150.7)
XYZxyz(11.7984, 18.7759, 10.5902)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398750 #873970
analogous
#498739 #398750 #398777
triadic
#398750 #503987 #875039
tetradic
#398750 #394987 #873970 #877739
square
#398750 #394987 #873970 #877739
split-complementary
#398750 #773987 #873949
monochromatic
#15311D #275C36 #398750 #4BB269 #75C58D

Accessibility & contrast

On white

4.42
#398750 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##398750#FFFFFF#000000##000000
##3987501.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398750;
/* rgb */ color: rgb(57, 135, 80);
/* oklch */ color: oklch(56.0% 0.115 150.7);
Tailwind
colors: {
  custom: {
    50: '#77ab81',
    500: '#398750',
    950: '#000000',
  },
}
SCSS
$custom: #398750;
$custom-light: #77ab81;
$custom-dark: #000000;
JSON
{
  "hex": "#398750",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 80
  },
  "hsl": {
    "h": 137.692,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.11458,
    "h": 150.7
  },
  "luminance": 0.18777
}

Semantic roles & 50–950 ramp

primary
#398750
secondary
#AE6E9B
accent
#57ADD0
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398750

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

Preview Lab → · Contrast checker → · Palette generator →

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