#42882C#42882C

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

Color values

HEX#42882C
RGBrgb(66, 136, 44)
HSLhsl(106, 51%, 35%)
HSVhsv(106, 68%, 53%)
CMYKcmyk(51.5%, 0%, 67.6%, 46.7%)
CIE-LABlab(50.63, -39.84, 41.24)
CIE-LCHlch(50.63, 57.34, 134.01°)
OKLaboklab(56.1% -0.1096 0.095)
OKLCHoklch(56.1% 0.145 139.1)
XYZxyz(11.5051, 18.9476, 5.4334)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42882C #722C88
analogous
#70882C #42882C #2C8844
triadic
#42882C #2C4288 #882C42
tetradic
#42882C #2C7088 #722C88 #88442C
square
#42882C #2C7088 #722C88 #88442C
split-complementary
#42882C #442C88 #882C70
monochromatic
#152C0E #2C5A1D #42882C #58B63B #7CCC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42882C#FFFFFF#000000##000000
##42882C1.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)
#8C7C20
Deuteranopia (green-blind)
#837634
Tritanopia (blue-blind)
#3C8375
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42882c;
/* rgb */ color: rgb(66, 136, 44);
/* oklch */ color: oklch(56.1% 0.145 139.1);
Tailwind
colors: {
  custom: {
    50: '#7dab6a',
    500: '#42882c',
    950: '#000000',
  },
}
SCSS
$custom: #42882c;
$custom-light: #7dab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42882c",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 105.652,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.14501,
    "h": 139.1
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#42882C
secondary
#9E5DB3
accent
#4DDBB9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42882C

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

Preview Lab → · Contrast checker → · Palette generator →

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