#42873D#42873D

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

Color values

HEX#42873D
RGBrgb(66, 135, 61)
HSLhsl(116, 38%, 38%)
HSVhsv(116, 55%, 53%)
CMYKcmyk(51.1%, 0%, 54.8%, 47.1%)
CIE-LABlab(50.48, -37.45, 32.90)
CIE-LCHlch(50.48, 49.85, 138.70°)
OKLaboklab(56.04% -0.1021 0.0787)
OKLCHoklch(56.04% 0.129 142.4)
XYZxyz(11.7525, 18.8222, 7.4277)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42873D #823D87
analogous
#67873D #42873D #3D875D
triadic
#42873D #3D4287 #873D42
tetradic
#42873D #3D6787 #823D87 #875D3D
square
#42873D #3D6787 #823D87 #875D3D
split-complementary
#42873D #5D3D87 #873D67
monochromatic
#193317 #2D5D2A #42873D #57B051 #80C37B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42873D#FFFFFF#000000##000000
##42873D1.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)
#8A7C36
Deuteranopia (green-blind)
#817642
Tritanopia (blue-blind)
#398376
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42873d;
/* rgb */ color: rgb(66, 135, 61);
/* oklch */ color: oklch(56.0% 0.129 142.4);
Tailwind
colors: {
  custom: {
    50: '#7caa74',
    500: '#42873d',
    950: '#000000',
  },
}
SCSS
$custom: #42873d;
$custom-light: #7caa74;
$custom-dark: #000000;
JSON
{
  "hex": "#42873d",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 61
  },
  "hsl": {
    "h": 115.946,
    "s": 37.755,
    "l": 38.431
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.12886,
    "h": 142.4
  },
  "luminance": 0.18823
}

Semantic roles & 50–950 ramp

primary
#42873D
secondary
#A973AD
accent
#5ACEC6
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #42873D

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

Preview Lab → · Contrast checker → · Palette generator →

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