#398541#398541

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

Color values

HEX#398541
RGBrgb(57, 133, 65)
HSLhsl(126, 40%, 37%)
HSVhsv(126, 57%, 52%)
CMYKcmyk(57.1%, 0%, 51.1%, 47.8%)
CIE-LABlab(49.53, -38.57, 29.57)
CIE-LCHlch(49.53, 48.60, 142.53°)
OKLaboklab(55.18% -0.1046 0.0716)
OKLCHoklch(55.18% 0.127 145.6)
XYZxyz(11.0283, 18.0256, 7.8981)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398541 #85397D
analogous
#578539 #398541 #398567
triadic
#398541 #413985 #854139
tetradic
#398541 #395785 #85397D #856739
square
#398541 #395785 #85397D #856739
split-complementary
#398541 #673985 #853957
monochromatic
#142F17 #275A2C #398541 #4BB056 #75C47D

Accessibility & contrast

On white

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

On black

4.61
#398541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398541
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398541#FFFFFF#000000##000000
##3985411.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398541;
/* rgb */ color: rgb(57, 133, 65);
/* oklch */ color: oklch(55.2% 0.127 145.6);
Tailwind
colors: {
  custom: {
    50: '#77a977',
    500: '#398541',
    950: '#000000',
  },
}
SCSS
$custom: #398541;
$custom-light: #77a977;
$custom-dark: #000000;
JSON
{
  "hex": "#398541",
  "rgb": {
    "r": 57,
    "g": 133,
    "b": 65
  },
  "hsl": {
    "h": 126.316,
    "s": 40,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55182,
    "c": 0.12671,
    "h": 145.6
  },
  "luminance": 0.18027
}

Semantic roles & 50–950 ramp

primary
#398541
secondary
#AD6DA6
accent
#58C3D0
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #398541

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

Preview Lab → · Contrast checker → · Palette generator →

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