#42873C#42873C

#42873C is a mid, vivid green. Relative luminance 0.188; OKLCH L 56.0% C 0.130 H 142.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#42873C
RGBrgb(66, 135, 60)
HSLhsl(115, 38%, 38%)
HSVhsv(115, 56%, 53%)
CMYKcmyk(51.1%, 0%, 55.6%, 47.1%)
CIE-LABlab(50.47, -37.58, 33.40)
CIE-LCHlch(50.47, 50.28, 138.38°)
OKLaboklab(56.03% -0.1025 0.0797)
OKLCHoklch(56.03% 0.13 142.1)
XYZxyz(11.7258, 18.8116, 7.2872)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42873C #813C87
analogous
#67873C #42873C #3C875B
triadic
#42873C #3C4287 #873C42
tetradic
#42873C #3C6787 #813C87 #875B3C
square
#42873C #3C6787 #813C87 #875B3C
split-complementary
#42873C #5B3C87 #873C67
monochromatic
#193216 #2D5D29 #42873C #57B14F #80C47A

Accessibility & contrast

On white

4.41
#42873C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#42873C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42873C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42873C#FFFFFF#000000##000000
##42873C1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C35
Deuteranopia (green-blind)
#817641
Tritanopia (blue-blind)
#3A8376
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42873c;
/* rgb */ color: rgb(66, 135, 60);
/* oklch */ color: oklch(56.0% 0.130 142.1);
Tailwind
colors: {
  custom: {
    50: '#7caa74',
    500: '#42873c',
    950: '#000000',
  },
}
SCSS
$custom: #42873c;
$custom-light: #7caa74;
$custom-dark: #000000;
JSON
{
  "hex": "#42873c",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 60
  },
  "hsl": {
    "h": 115.2,
    "s": 38.462,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.12981,
    "h": 142.1
  },
  "luminance": 0.18812
}

Semantic roles & 50–950 ramp

primary
#42873C
secondary
#A971AD
accent
#59CEC5
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #42873C

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

Preview Lab → · Contrast checker → · Palette generator →

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