#42872B#42872B

#42872B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.8% C 0.144 H 138.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#42872B
RGBrgb(66, 135, 43)
HSLhsl(105, 52%, 35%)
HSVhsv(105, 68%, 53%)
CMYKcmyk(51.1%, 0%, 68.1%, 47.1%)
CIE-LABlab(50.29, -39.53, 41.31)
CIE-LCHlch(50.29, 57.18, 133.73°)
OKLaboklab(55.82% -0.1088 0.095)
OKLCHoklch(55.82% 0.144 138.9)
XYZxyz(11.3464, 18.6598, 5.2888)
Luminance0.1866 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42872B #702B87
analogous
#70872B #42872B #2B8742
triadic
#42872B #2B4287 #872B42
tetradic
#42872B #2B7087 #702B87 #87422B
square
#42872B #2B7087 #702B87 #87422B
split-complementary
#42872B #422B87 #872B70
monochromatic
#152A0D #2B591C #42872B #59B53A #7BCC60

Accessibility & contrast

On white

4.44
#42872B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#42872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42872B
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42872B#FFFFFF#000000##000000
##42872B1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1F
Deuteranopia (green-blind)
#827533
Tritanopia (blue-blind)
#3C8274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42872b;
/* rgb */ color: rgb(66, 135, 43);
/* oklch */ color: oklch(55.8% 0.144 138.9);
Tailwind
colors: {
  custom: {
    50: '#7daa69',
    500: '#42872b',
    950: '#000000',
  },
}
SCSS
$custom: #42872b;
$custom-light: #7daa69;
$custom-dark: #000000;
JSON
{
  "hex": "#42872b",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 105,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.14442,
    "h": 138.9
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#42872B
secondary
#9D5BB2
accent
#4DDBB8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #42872B

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

Preview Lab → · Contrast checker → · Palette generator →

#42872B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva