#42842D#42842D

#42842D is a mid, vivid green. Relative luminance 0.178; OKLCH L 55.0% C 0.139 H 139.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#42842D
RGBrgb(66, 132, 45)
HSLhsl(106, 49%, 35%)
HSVhsv(106, 66%, 52%)
CMYKcmyk(50%, 0%, 65.9%, 48.2%)
CIE-LABlab(49.31, -38.07, 39.36)
CIE-LCHlch(49.31, 54.76, 134.05°)
OKLaboklab(55.03% -0.1047 0.0911)
OKLCHoklch(55.03% 0.139 139)
XYZxyz(10.9713, 17.8495, 5.3493)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42842D #6F2D84
analogous
#6E842D #42842D #2D8443
triadic
#42842D #2D4284 #842D42
tetradic
#42842D #2D6E84 #6F2D84 #84432D
square
#42842D #2D6E84 #6F2D84 #84432D
split-complementary
#42842D #432D84 #842D6E
monochromatic
#14290E #2B561D #42842D #59B23D #7BC962

Accessibility & contrast

On white

4.60
#42842D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#42842D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #42842D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42842D#FFFFFF#000000##FFFFFF
##42842D1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#3D8072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #42842d;
/* rgb */ color: rgb(66, 132, 45);
/* oklch */ color: oklch(55.0% 0.139 139.0);
Tailwind
colors: {
  custom: {
    50: '#7ca86a',
    500: '#42842d',
    950: '#000000',
  },
}
SCSS
$custom: #42842d;
$custom-light: #7ca86a;
$custom-dark: #000000;
JSON
{
  "hex": "#42842d",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 105.517,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55028,
    "c": 0.13879,
    "h": 139
  },
  "luminance": 0.1785
}

Semantic roles & 50–950 ramp

primary
#42842D
secondary
#9C5DB0
accent
#4FD9B7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42842D

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

Preview Lab → · Contrast checker → · Palette generator →

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