#40843A#40843A

#40843A is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.1% C 0.128 H 142.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#40843A
RGBrgb(64, 132, 58)
HSLhsl(115, 39%, 37%)
HSVhsv(115, 56%, 52%)
CMYKcmyk(51.5%, 0%, 56.1%, 48.2%)
CIE-LABlab(49.37, -37.16, 33.09)
CIE-LCHlch(49.37, 49.76, 138.32°)
OKLaboklab(55.1% -0.1013 0.0789)
OKLCHoklch(55.1% 0.128 142.1)
XYZxyz(11.1288, 17.8972, 6.8702)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40843A #7E3A84
analogous
#65843A #40843A #3A8459
triadic
#40843A #3A4084 #843A40
tetradic
#40843A #3A6584 #7E3A84 #84593A
square
#40843A #3A6584 #7E3A84 #84593A
split-complementary
#40843A #593A84 #843A65
monochromatic
#172F15 #2B5927 #40843A #55AF4D #7CC376

Accessibility & contrast

On white

4.59
#40843A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#40843A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #40843A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40843A#FFFFFF#000000##FFFFFF
##40843A1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877933
Deuteranopia (green-blind)
#7E733F
Tritanopia (blue-blind)
#388073
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #40843a;
/* rgb */ color: rgb(64, 132, 58);
/* oklch */ color: oklch(55.1% 0.128 142.1);
Tailwind
colors: {
  custom: {
    50: '#7ba872',
    500: '#40843a',
    950: '#000000',
  },
}
SCSS
$custom: #40843a;
$custom-light: #7ba872;
$custom-dark: #000000;
JSON
{
  "hex": "#40843a",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 58
  },
  "hsl": {
    "h": 115.135,
    "s": 38.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55098,
    "c": 0.12841,
    "h": 142.1
  },
  "luminance": 0.17898
}

Semantic roles & 50–950 ramp

primary
#40843A
secondary
#A76EAC
accent
#59CFC5
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #40843A

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

Preview Lab → · Contrast checker → · Palette generator →

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