#398141#398141

#398141 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.121 H 145.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#398141
RGBrgb(57, 129, 65)
HSLhsl(127, 39%, 36%)
HSVhsv(127, 56%, 51%)
CMYKcmyk(55.8%, 0%, 49.6%, 49.4%)
CIE-LABlab(48.20, -36.87, 27.91)
CIE-LCHlch(48.20, 46.25, 142.87°)
OKLaboklab(54.09% -0.1 0.0678)
OKLCHoklch(54.09% 0.121 145.8)
XYZxyz(10.4911, 16.9511, 7.7191)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398141 #813979
analogous
#558139 #398141 #398165
triadic
#398141 #413981 #814139
tetradic
#398141 #395581 #813979 #816539
square
#398141 #395581 #813979 #816539
split-complementary
#398141 #653981 #813955
monochromatic
#132C16 #26572C #398141 #4CAB56 #73C17C

Accessibility & contrast

On white

4.78
#398141 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#398141 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398141
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398141#FFFFFF#000000##FFFFFF
##3981411.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763C
Deuteranopia (green-blind)
#797045
Tritanopia (blue-blind)
#2C7E72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398141;
/* rgb */ color: rgb(57, 129, 65);
/* oklch */ color: oklch(54.1% 0.121 145.8);
Tailwind
colors: {
  custom: {
    50: '#76a677',
    500: '#398141',
    950: '#000000',
  },
}
SCSS
$custom: #398141;
$custom-light: #76a677;
$custom-dark: #000000;
JSON
{
  "hex": "#398141",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 65
  },
  "hsl": {
    "h": 126.667,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.12082,
    "h": 145.8
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398141

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

Preview Lab → · Contrast checker → · Palette generator →

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