#42882D#42882D

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

Color values

HEX#42882D
RGBrgb(66, 136, 45)
HSLhsl(106, 50%, 35%)
HSVhsv(106, 67%, 53%)
CMYKcmyk(51.5%, 0%, 66.9%, 46.7%)
CIE-LABlab(50.63, -39.75, 40.81)
CIE-LCHlch(50.63, 56.96, 134.25°)
OKLaboklab(56.11% -0.1093 0.0942)
OKLCHoklch(56.11% 0.144 139.2)
XYZxyz(11.5241, 18.9552, 5.5336)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42882D #732D88
analogous
#6F882D #42882D #2D8845
triadic
#42882D #2D4288 #882D42
tetradic
#42882D #2D6F88 #732D88 #88452D
square
#42882D #2D6F88 #732D88 #88452D
split-complementary
#42882D #452D88 #882D6F
monochromatic
#152C0F #2C5A1E #42882D #58B63C #7CCC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42882D#FFFFFF#000000##000000
##42882D1.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)
#8C7C21
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#3C8375
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #42882d;
/* rgb */ color: rgb(66, 136, 45);
/* oklch */ color: oklch(56.1% 0.144 139.2);
Tailwind
colors: {
  custom: {
    50: '#7dab6a',
    500: '#42882d',
    950: '#000000',
  },
}
SCSS
$custom: #42882d;
$custom-light: #7dab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42882d",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 106.154,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.14424,
    "h": 139.2
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#42882D
secondary
#9F5FB2
accent
#4EDABA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42882D

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

Preview Lab → · Contrast checker → · Palette generator →

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