#398747#398747

#398747 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.8% C 0.124 H 147.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#398747
RGBrgb(57, 135, 71)
HSLhsl(131, 41%, 38%)
HSVhsv(131, 58%, 53%)
CMYKcmyk(57.8%, 0%, 47.4%, 47.1%)
CIE-LABlab(50.28, -38.46, 27.30)
CIE-LCHlch(50.28, 47.17, 144.64°)
OKLaboklab(55.83% -0.1041 0.0667)
OKLCHoklch(55.83% 0.124 147.3)
XYZxyz(11.4879, 18.6517, 8.9548)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398747 #873979
analogous
#528739 #398747 #39876E
triadic
#398747 #473987 #874739
tetradic
#398747 #395287 #873979 #876E39
square
#398747 #395287 #873979 #876E39
split-complementary
#398747 #6E3987 #873952
monochromatic
#15311A #275C30 #398747 #4BB25E #75C584

Accessibility & contrast

On white

4.44
#398747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#398747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398747
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398747#FFFFFF#000000##000000
##3987471.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C42
Deuteranopia (green-blind)
#7E754B
Tritanopia (blue-blind)
#288478
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398747;
/* rgb */ color: rgb(57, 135, 71);
/* oklch */ color: oklch(55.8% 0.124 147.3);
Tailwind
colors: {
  custom: {
    50: '#77ab7b',
    500: '#398747',
    950: '#000000',
  },
}
SCSS
$custom: #398747;
$custom-light: #77ab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#398747",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 130.769,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55826,
    "c": 0.12369,
    "h": 147.3
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#398747
secondary
#AE6EA3
accent
#57BBD0
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #398747

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

Preview Lab → · Contrast checker → · Palette generator →

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