#42872A#42872A

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

Color values

HEX#42872A
RGBrgb(66, 135, 42)
HSLhsl(105, 53%, 35%)
HSVhsv(105, 69%, 53%)
CMYKcmyk(51.1%, 0%, 68.9%, 47.1%)
CIE-LABlab(50.28, -39.62, 41.74)
CIE-LCHlch(50.28, 57.55, 133.51°)
OKLaboklab(55.81% -0.1091 0.0958)
OKLCHoklch(55.81% 0.145 138.7)
XYZxyz(11.3282, 18.6525, 5.1934)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42872A #6F2A87
analogous
#71872A #42872A #2A8741
triadic
#42872A #2A4287 #872A42
tetradic
#42872A #2A7187 #6F2A87 #87412A
square
#42872A #2A7187 #6F2A87 #87412A
split-complementary
#42872A #412A87 #872A71
monochromatic
#142A0D #2B581B #42872A #59B639 #7BCD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42872A#FFFFFF#000000##000000
##42872A1.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)
#8B7B1D
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#3C8274
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42872a;
/* rgb */ color: rgb(66, 135, 42);
/* oklch */ color: oklch(55.8% 0.145 138.7);
Tailwind
colors: {
  custom: {
    50: '#7daa68',
    500: '#42872a',
    950: '#000000',
  },
}
SCSS
$custom: #42872a;
$custom-light: #7daa68;
$custom-dark: #000000;
JSON
{
  "hex": "#42872a",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 104.516,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55812,
    "c": 0.14518,
    "h": 138.7
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#42872A
secondary
#9C5AB3
accent
#4CDCB7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #42872A

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

Preview Lab → · Contrast checker → · Palette generator →

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