#40893A#40893A

#40893A is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.5% C 0.136 H 142.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#40893A
RGBrgb(64, 137, 58)
HSLhsl(115, 41%, 38%)
HSVhsv(115, 58%, 54%)
CMYKcmyk(53.3%, 0%, 57.7%, 46.3%)
CIE-LABlab(51.02, -39.28, 35.05)
CIE-LCHlch(51.02, 52.64, 138.26°)
OKLaboklab(56.45% -0.1071 0.0832)
OKLCHoklch(56.45% 0.136 142.2)
XYZxyz(11.8232, 19.2859, 7.1017)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40893A #833A89
analogous
#67893A #40893A #3A895B
triadic
#40893A #3A4089 #893A40
tetradic
#40893A #3A6789 #833A89 #895B3A
square
#40893A #3A6789 #833A89 #895B3A
split-complementary
#40893A #5B3A89 #893A67
monochromatic
#183316 #2C5E28 #40893A #54B44D #7EC678

Accessibility & contrast

On white

4.32
#40893A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#40893A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40893A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40893A#FFFFFF#000000##000000
##40893A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D32
Deuteranopia (green-blind)
#827740
Tritanopia (blue-blind)
#378577
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #40893a;
/* rgb */ color: rgb(64, 137, 58);
/* oklch */ color: oklch(56.5% 0.136 142.2);
Tailwind
colors: {
  custom: {
    50: '#7bac72',
    500: '#40893a',
    950: '#000000',
  },
}
SCSS
$custom: #40893a;
$custom-light: #7bac72;
$custom-dark: #000000;
JSON
{
  "hex": "#40893a",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 115.443,
    "s": 40.513,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.13558,
    "h": 142.2
  },
  "luminance": 0.19287
}

Semantic roles & 50–950 ramp

primary
#40893A
secondary
#AA70AF
accent
#57D0C7
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #40893A

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

Preview Lab → · Contrast checker → · Palette generator →

#40893A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva