#42873B#42873B

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

Color values

HEX#42873B
RGBrgb(66, 135, 59)
HSLhsl(114, 39%, 38%)
HSVhsv(114, 56%, 53%)
CMYKcmyk(51.1%, 0%, 56.3%, 47.1%)
CIE-LABlab(50.45, -37.72, 33.89)
CIE-LCHlch(50.45, 50.71, 138.06°)
OKLaboklab(56.01% -0.1029 0.0807)
OKLCHoklch(56.01% 0.131 141.9)
XYZxyz(11.6996, 18.8011, 7.1493)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42873B #803B87
analogous
#68873B #42873B #3B875A
triadic
#42873B #3B4287 #873B42
tetradic
#42873B #3B6887 #803B87 #875A3B
square
#42873B #3B6887 #803B87 #875A3B
split-complementary
#42873B #5A3B87 #873B68
monochromatic
#183216 #2D5C28 #42873B #57B24E #7FC478

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42873B#FFFFFF#000000##000000
##42873B1.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)
#8A7C34
Deuteranopia (green-blind)
#817641
Tritanopia (blue-blind)
#3A8376
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42873b;
/* rgb */ color: rgb(66, 135, 59);
/* oklch */ color: oklch(56.0% 0.131 141.9);
Tailwind
colors: {
  custom: {
    50: '#7caa73',
    500: '#42873b',
    950: '#000000',
  },
}
SCSS
$custom: #42873b;
$custom-light: #7caa73;
$custom-dark: #000000;
JSON
{
  "hex": "#42873b",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 59
  },
  "hsl": {
    "h": 114.474,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56013,
    "c": 0.13075,
    "h": 141.9
  },
  "luminance": 0.18802
}

Semantic roles & 50–950 ramp

primary
#42873B
secondary
#A870AE
accent
#59CFC4
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #42873B

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

Preview Lab → · Contrast checker → · Palette generator →

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