#42873E#42873E

#42873E is a mid, vivid green. Relative luminance 0.188; OKLCH L 56.1% C 0.128 H 142.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#42873E
RGBrgb(66, 135, 62)
HSLhsl(117, 37%, 39%)
HSVhsv(117, 54%, 53%)
CMYKcmyk(51.1%, 0%, 54.1%, 47.1%)
CIE-LABlab(50.49, -37.31, 32.40)
CIE-LCHlch(50.49, 49.42, 139.03°)
OKLaboklab(56.06% -0.1016 0.0776)
OKLCHoklch(56.06% 0.128 142.6)
XYZxyz(11.7797, 18.8331, 7.5709)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42873E #833E87
analogous
#66873E #42873E #3E875E
triadic
#42873E #3E4287 #873E42
tetradic
#42873E #3E6687 #833E87 #875E3E
square
#42873E #3E6687 #833E87 #875E3E
split-complementary
#42873E #5E3E87 #873E66
monochromatic
#193317 #2D5D2B #42873E #58B052 #80C37C

Accessibility & contrast

On white

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

On black

4.77
#42873E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42873E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42873E#FFFFFF#000000##000000
##42873E1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C37
Deuteranopia (green-blind)
#807643
Tritanopia (blue-blind)
#398376
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42873e;
/* rgb */ color: rgb(66, 135, 62);
/* oklch */ color: oklch(56.1% 0.128 142.6);
Tailwind
colors: {
  custom: {
    50: '#7caa75',
    500: '#42873e',
    950: '#000000',
  },
}
SCSS
$custom: #42873e;
$custom-light: #7caa75;
$custom-dark: #000000;
JSON
{
  "hex": "#42873e",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 116.712,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.1279,
    "h": 142.6
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#42873E
secondary
#AA74AD
accent
#5BCDC7
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #42873E

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

Preview Lab → · Contrast checker → · Palette generator →

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