#40883B#40883B

#40883B is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.2% C 0.133 H 142.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#40883B
RGBrgb(64, 136, 59)
HSLhsl(116, 39%, 38%)
HSVhsv(116, 57%, 53%)
CMYKcmyk(52.9%, 0%, 56.6%, 46.7%)
CIE-LABlab(50.70, -38.73, 34.17)
CIE-LCHlch(50.70, 51.65, 138.59°)
OKLaboklab(56.19% -0.1055 0.0813)
OKLCHoklch(56.19% 0.133 142.4)
XYZxyz(11.7074, 19.0132, 7.1898)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40883B #833B88
analogous
#66883B #40883B #3B885C
triadic
#40883B #3B4088 #883B40
tetradic
#40883B #3B6688 #833B88 #885C3B
square
#40883B #3B6688 #833B88 #885C3B
split-complementary
#40883B #5C3B88 #883B66
monochromatic
#183316 #2C5D28 #40883B #54B24E #7EC579

Accessibility & contrast

On white

4.37
#40883B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#40883B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40883B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40883B#FFFFFF#000000##000000
##40883B1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D34
Deuteranopia (green-blind)
#817641
Tritanopia (blue-blind)
#378477
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #40883b;
/* rgb */ color: rgb(64, 136, 59);
/* oklch */ color: oklch(56.2% 0.133 142.4);
Tailwind
colors: {
  custom: {
    50: '#7bab73',
    500: '#40883b',
    950: '#000000',
  },
}
SCSS
$custom: #40883b;
$custom-light: #7bab73;
$custom-dark: #000000;
JSON
{
  "hex": "#40883b",
  "rgb": {
    "r": 64,
    "g": 136,
    "b": 59
  },
  "hsl": {
    "h": 116.104,
    "s": 39.487,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.13324,
    "h": 142.4
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#40883B
secondary
#AA71AE
accent
#58CFC8
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #40883B

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

Preview Lab → · Contrast checker → · Palette generator →

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