#42872C#42872C

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

Color values

HEX#42872C
RGBrgb(66, 135, 44)
HSLhsl(105, 51%, 35%)
HSVhsv(105, 67%, 53%)
CMYKcmyk(51.1%, 0%, 67.4%, 47.1%)
CIE-LABlab(50.30, -39.43, 40.88)
CIE-LCHlch(50.30, 56.80, 133.96°)
OKLaboklab(55.83% -0.1085 0.0942)
OKLCHoklch(55.83% 0.144 139)
XYZxyz(11.3649, 18.6672, 5.3866)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42872C #712C87
analogous
#6F872C #42872C #2C8744
triadic
#42872C #2C4287 #872C42
tetradic
#42872C #2C6F87 #712C87 #87442C
square
#42872C #2C6F87 #712C87 #87442C
split-complementary
#42872C #442C87 #872C6F
monochromatic
#152B0E #2B591D #42872C #59B53B #7BCC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42872C#FFFFFF#000000##000000
##42872C1.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)
#8B7B20
Deuteranopia (green-blind)
#827534
Tritanopia (blue-blind)
#3C8274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42872c;
/* rgb */ color: rgb(66, 135, 44);
/* oklch */ color: oklch(55.8% 0.144 139.0);
Tailwind
colors: {
  custom: {
    50: '#7daa6a',
    500: '#42872c',
    950: '#000000',
  },
}
SCSS
$custom: #42872c;
$custom-light: #7daa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#42872c",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 105.495,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55832,
    "c": 0.14366,
    "h": 139
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#42872C
secondary
#9D5DB2
accent
#4DDAB8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42872C

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

Preview Lab → · Contrast checker → · Palette generator →

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