#42842C#42842C

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

Color values

HEX#42842C
RGBrgb(66, 132, 44)
HSLhsl(105, 50%, 35%)
HSVhsv(105, 67%, 52%)
CMYKcmyk(50%, 0%, 66.7%, 48.2%)
CIE-LABlab(49.30, -38.17, 39.80)
CIE-LCHlch(49.30, 55.15, 133.80°)
OKLaboklab(55.02% -0.105 0.0919)
OKLCHoklch(55.02% 0.14 138.8)
XYZxyz(10.9523, 17.8419, 5.2491)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42842C #6E2C84
analogous
#6E842C #42842C #2C8442
triadic
#42842C #2C4284 #842C42
tetradic
#42842C #2C6E84 #6E2C84 #84422C
square
#42842C #2C6E84 #6E2C84 #84422C
split-complementary
#42842C #422C84 #842C6E
monochromatic
#14280D #2B561D #42842C #59B23B #7BCA60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42842C#FFFFFF#000000##FFFFFF
##42842C1.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)
#887921
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#3D8072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #42842c;
/* rgb */ color: rgb(66, 132, 44);
/* oklch */ color: oklch(55.0% 0.140 138.8);
Tailwind
colors: {
  custom: {
    50: '#7ca869',
    500: '#42842c',
    950: '#000000',
  },
}
SCSS
$custom: #42842c;
$custom-light: #7ca869;
$custom-dark: #000000;
JSON
{
  "hex": "#42842c",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 105,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55017,
    "c": 0.13959,
    "h": 138.8
  },
  "luminance": 0.17843
}

Semantic roles & 50–950 ramp

primary
#42842C
secondary
#9B5CB0
accent
#4EDAB7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #42842C

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

Preview Lab → · Contrast checker → · Palette generator →

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