#42882F#42882F

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

Color values

HEX#42882F
RGBrgb(66, 136, 47)
HSLhsl(107, 49%, 36%)
HSVhsv(107, 65%, 53%)
CMYKcmyk(51.5%, 0%, 65.4%, 46.7%)
CIE-LABlab(50.65, -39.54, 39.92)
CIE-LCHlch(50.65, 56.19, 134.73°)
OKLaboklab(56.14% -0.1086 0.0925)
OKLCHoklch(56.14% 0.143 139.6)
XYZxyz(11.5636, 18.9710, 5.7412)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42882F #752F88
analogous
#6E882F #42882F #2F8848
triadic
#42882F #2F4288 #882F42
tetradic
#42882F #2F6E88 #752F88 #88482F
square
#42882F #2F6E88 #752F88 #88482F
split-complementary
#42882F #482F88 #882F6E
monochromatic
#162D10 #2C5B1F #42882F #58B53F #7CCA67

Accessibility & contrast

On white

4.38
#42882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42882F#FFFFFF#000000##000000
##42882F1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C24
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#3B8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #42882f;
/* rgb */ color: rgb(66, 136, 47);
/* oklch */ color: oklch(56.1% 0.143 139.6);
Tailwind
colors: {
  custom: {
    50: '#7dab6c',
    500: '#42882f',
    950: '#000000',
  },
}
SCSS
$custom: #42882f;
$custom-light: #7dab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#42882f",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 107.191,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.14265,
    "h": 139.6
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#42882F
secondary
#A061B1
accent
#50D8BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42882F

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

Preview Lab → · Contrast checker → · Palette generator →

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