#398540#398540

#398540 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.2% C 0.128 H 145.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#398540
RGBrgb(57, 133, 64)
HSLhsl(126, 40%, 37%)
HSVhsv(126, 57%, 52%)
CMYKcmyk(57.1%, 0%, 51.9%, 47.8%)
CIE-LABlab(49.51, -38.73, 30.08)
CIE-LCHlch(49.51, 49.03, 142.16°)
OKLaboklab(55.17% -0.105 0.0727)
OKLCHoklch(55.17% 0.128 145.3)
XYZxyz(10.9996, 18.0141, 7.7469)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398540 #85397E
analogous
#588539 #398540 #398566
triadic
#398540 #403985 #854039
tetradic
#398540 #395885 #85397E #856639
square
#398540 #395885 #85397E #856639
split-complementary
#398540 #663985 #853958
monochromatic
#142F17 #275A2B #398540 #4BB055 #75C47C

Accessibility & contrast

On white

4.56
#398540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#398540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398540
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398540#FFFFFF#000000##000000
##3985401.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#2B8275
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #398540;
/* rgb */ color: rgb(57, 133, 64);
/* oklch */ color: oklch(55.2% 0.128 145.3);
Tailwind
colors: {
  custom: {
    50: '#77a976',
    500: '#398540',
    950: '#000000',
  },
}
SCSS
$custom: #398540;
$custom-light: #77a976;
$custom-dark: #000000;
JSON
{
  "hex": "#398540",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 125.526,
    "s": 40,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55166,
    "c": 0.12769,
    "h": 145.3
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#398540
secondary
#AD6DA7
accent
#58C5D0
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #398540

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

Preview Lab → · Contrast checker → · Palette generator →

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