#42882A#42882A

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

Color values

HEX#42882A
RGBrgb(66, 136, 42)
HSLhsl(105, 53%, 35%)
HSVhsv(105, 69%, 53%)
CMYKcmyk(51.5%, 0%, 69.1%, 46.7%)
CIE-LABlab(50.61, -40.03, 42.09)
CIE-LCHlch(50.61, 58.09, 133.56°)
OKLaboklab(56.08% -0.1102 0.0965)
OKLCHoklch(56.08% 0.147 138.8)
XYZxyz(11.4684, 18.9329, 5.2401)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42882A #702A88
analogous
#71882A #42882A #2A8841
triadic
#42882A #2A4288 #882A42
tetradic
#42882A #2A7188 #702A88 #88412A
square
#42882A #2A7188 #702A88 #88412A
split-complementary
#42882A #412A88 #882A71
monochromatic
#152A0D #2B591C #42882A #59B738 #7BCE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42882A#FFFFFF#000000##000000
##42882A1.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)
#8C7C1D
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#3C8375
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42882a;
/* rgb */ color: rgb(66, 136, 42);
/* oklch */ color: oklch(56.1% 0.147 138.8);
Tailwind
colors: {
  custom: {
    50: '#7dab69',
    500: '#42882a',
    950: '#000000',
  },
}
SCSS
$custom: #42882a;
$custom-light: #7dab69;
$custom-dark: #000000;
JSON
{
  "hex": "#42882a",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 104.681,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56084,
    "c": 0.14651,
    "h": 138.8
  },
  "luminance": 0.18934
}

Semantic roles & 50–950 ramp

primary
#42882A
secondary
#9D5BB3
accent
#4CDCB7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #42882A

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

Preview Lab → · Contrast checker → · Palette generator →

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