#42872E#42872E

#42872E is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.9% C 0.142 H 139.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#42872E
RGBrgb(66, 135, 46)
HSLhsl(107, 49%, 35%)
HSVhsv(107, 66%, 53%)
CMYKcmyk(51.1%, 0%, 65.9%, 47.1%)
CIE-LABlab(50.31, -39.23, 40.00)
CIE-LCHlch(50.31, 56.03, 134.44°)
OKLaboklab(55.85% -0.1078 0.0926)
OKLCHoklch(55.85% 0.142 139.3)
XYZxyz(11.4034, 18.6826, 5.5894)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42872E #732E87
analogous
#6E872E #42872E #2E8746
triadic
#42872E #2E4287 #872E42
tetradic
#42872E #2E6E87 #732E87 #87462E
square
#42872E #2E6E87 #732E87 #87462E
split-complementary
#42872E #462E87 #872E6E
monochromatic
#152C0F #2C591E #42872E #58B53E #7CCA65

Accessibility & contrast

On white

4.43
#42872E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#42872E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42872E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42872E#FFFFFF#000000##000000
##42872E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B23
Deuteranopia (green-blind)
#827535
Tritanopia (blue-blind)
#3C8374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42872e;
/* rgb */ color: rgb(66, 135, 46);
/* oklch */ color: oklch(55.9% 0.142 139.3);
Tailwind
colors: {
  custom: {
    50: '#7daa6b',
    500: '#42872e',
    950: '#000000',
  },
}
SCSS
$custom: #42872e;
$custom-light: #7daa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#42872e",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 106.517,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55853,
    "c": 0.14209,
    "h": 139.3
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#42872E
secondary
#9F60B1
accent
#4FD9BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #42872E

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

Preview Lab → · Contrast checker → · Palette generator →

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