#42842E#42842E

#42842E is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.0% C 0.138 H 139.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#42842E
RGBrgb(66, 132, 46)
HSLhsl(106, 48%, 35%)
HSVhsv(106, 65%, 52%)
CMYKcmyk(50%, 0%, 65.2%, 48.2%)
CIE-LABlab(49.32, -37.97, 38.91)
CIE-LCHlch(49.32, 54.37, 134.30°)
OKLaboklab(55.04% -0.1044 0.0903)
OKLCHoklch(55.04% 0.138 139.1)
XYZxyz(10.9908, 17.8573, 5.4519)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42842E #702E84
analogous
#6D842E #42842E #2E8445
triadic
#42842E #2E4284 #842E42
tetradic
#42842E #2E6D84 #702E84 #84452E
square
#42842E #2E6D84 #702E84 #84452E
split-complementary
#42842E #452E84 #842E6D
monochromatic
#15290E #2B571E #42842E #59B13E #7BC964

Accessibility & contrast

On white

4.59
#42842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #42842E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42842E#FFFFFF#000000##FFFFFF
##42842E1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#3C8072
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #42842e;
/* rgb */ color: rgb(66, 132, 46);
/* oklch */ color: oklch(55.0% 0.138 139.1);
Tailwind
colors: {
  custom: {
    50: '#7ca86b',
    500: '#42842e',
    950: '#000000',
  },
}
SCSS
$custom: #42842e;
$custom-light: #7ca86b;
$custom-dark: #000000;
JSON
{
  "hex": "#42842e",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 106.047,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55038,
    "c": 0.13798,
    "h": 139.1
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#42842E
secondary
#9D5EB0
accent
#50D8B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42842E

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

Preview Lab → · Contrast checker → · Palette generator →

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