#40893B#40893B

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

Color values

HEX#40893B
RGBrgb(64, 137, 59)
HSLhsl(116, 40%, 38%)
HSVhsv(116, 57%, 54%)
CMYKcmyk(53.3%, 0%, 56.9%, 46.3%)
CIE-LABlab(51.03, -39.16, 34.56)
CIE-LCHlch(51.03, 52.22, 138.57°)
OKLaboklab(56.47% -0.1067 0.0822)
OKLCHoklch(56.47% 0.135 142.4)
XYZxyz(11.8488, 19.2961, 7.2370)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40893B #843B89
analogous
#67893B #40893B #3B895D
triadic
#40893B #3B4089 #893B40
tetradic
#40893B #3B6789 #843B89 #895D3B
square
#40893B #3B6789 #843B89 #895D3B
split-complementary
#40893B #5D3B89 #893B67
monochromatic
#183316 #2C5E29 #40893B #55B34E #7EC579

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40893B#FFFFFF#000000##000000
##40893B1.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)
#8C7E34
Deuteranopia (green-blind)
#827741
Tritanopia (blue-blind)
#368578
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #40893b;
/* rgb */ color: rgb(64, 137, 59);
/* oklch */ color: oklch(56.5% 0.135 142.4);
Tailwind
colors: {
  custom: {
    50: '#7bac73',
    500: '#40893b',
    950: '#000000',
  },
}
SCSS
$custom: #40893b;
$custom-light: #7bac73;
$custom-dark: #000000;
JSON
{
  "hex": "#40893b",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 116.154,
    "s": 39.796,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56465,
    "c": 0.13467,
    "h": 142.4
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#40893B
secondary
#AB71AF
accent
#58D0C8
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #40893B

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

Preview Lab → · Contrast checker → · Palette generator →

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