#42882B#42882B

#42882B is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.1% C 0.146 H 138.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#42882B
RGBrgb(66, 136, 43)
HSLhsl(105, 52%, 35%)
HSVhsv(105, 68%, 53%)
CMYKcmyk(51.5%, 0%, 68.4%, 46.7%)
CIE-LABlab(50.62, -39.94, 41.67)
CIE-LCHlch(50.62, 57.72, 133.79°)
OKLaboklab(56.09% -0.1099 0.0957)
OKLCHoklch(56.09% 0.146 138.9)
XYZxyz(11.4865, 18.9401, 5.3356)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42882B #712B88
analogous
#71882B #42882B #2B8842
triadic
#42882B #2B4288 #882B42
tetradic
#42882B #2B7188 #712B88 #88422B
square
#42882B #2B7188 #712B88 #88422B
split-complementary
#42882B #422B88 #882B71
monochromatic
#152B0E #2B5A1C #42882B #59B63A #7BCD61

Accessibility & contrast

On white

4.39
#42882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#42882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42882B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42882B#FFFFFF#000000##000000
##42882B1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1F
Deuteranopia (green-blind)
#837633
Tritanopia (blue-blind)
#3C8375
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42882b;
/* rgb */ color: rgb(66, 136, 43);
/* oklch */ color: oklch(56.1% 0.146 138.9);
Tailwind
colors: {
  custom: {
    50: '#7dab69',
    500: '#42882b',
    950: '#000000',
  },
}
SCSS
$custom: #42882b;
$custom-light: #7dab69;
$custom-dark: #000000;
JSON
{
  "hex": "#42882b",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 105.161,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56093,
    "c": 0.14577,
    "h": 138.9
  },
  "luminance": 0.18941
}

Semantic roles & 50–950 ramp

primary
#42882B
secondary
#9D5CB3
accent
#4CDBB8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42882B

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

Preview Lab → · Contrast checker → · Palette generator →

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