#398041#398041

#398041 is a mid, moderate green. Relative luminance 0.167; OKLCH L 53.8% C 0.119 H 145.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#398041
RGBrgb(57, 128, 65)
HSLhsl(127, 38%, 36%)
HSVhsv(127, 55%, 50%)
CMYKcmyk(55.5%, 0%, 49.2%, 49.8%)
CIE-LABlab(47.87, -36.44, 27.49)
CIE-LCHlch(47.87, 45.65, 142.97°)
OKLaboklab(53.82% -0.0988 0.0669)
OKLCHoklch(53.82% 0.119 145.9)
XYZxyz(10.3600, 16.6890, 7.6754)
Luminance0.1669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398041 #803978
analogous
#558039 #398041 #398065
triadic
#398041 #413980 #804139
tetradic
#398041 #395580 #803978 #806539
square
#398041 #395580 #803978 #806539
split-complementary
#398041 #653980 #803955
monochromatic
#132B16 #26562B #398041 #4CAA57 #73C17C

Accessibility & contrast

On white

4.84
#398041 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#398041 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398041
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398041#FFFFFF#000000##FFFFFF
##3980411.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763C
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#2C7D71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398041;
/* rgb */ color: rgb(57, 128, 65);
/* oklch */ color: oklch(53.8% 0.119 145.9);
Tailwind
colors: {
  custom: {
    50: '#76a577',
    500: '#398041',
    950: '#000000',
  },
}
SCSS
$custom: #398041;
$custom-light: #76a577;
$custom-dark: #000000;
JSON
{
  "hex": "#398041",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 65
  },
  "hsl": {
    "h": 126.761,
    "s": 38.378,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53817,
    "c": 0.11933,
    "h": 145.9
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#398041
secondary
#AA6BA3
accent
#59C1CE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #398041

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

Preview Lab → · Contrast checker → · Palette generator →

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