#42864C#42864C

#42864C is a mid, moderate green. Relative luminance 0.187; OKLCH L 56.0% C 0.112 H 147.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#42864C
RGBrgb(66, 134, 76)
HSLhsl(129, 34%, 39%)
HSVhsv(129, 51%, 53%)
CMYKcmyk(50.7%, 0%, 43.3%, 47.5%)
CIE-LABlab(50.37, -34.71, 24.75)
CIE-LCHlch(50.37, 42.64, 144.51°)
OKLaboklab(56.02% -0.0942 0.0611)
OKLCHoklch(56.02% 0.112 147.1)
XYZxyz(12.0757, 18.7293, 9.8149)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42864C #86427C
analogous
#5A8642 #42864C #42866E
triadic
#42864C #4C4286 #864C42
tetradic
#42864C #425A86 #86427C #866E42
square
#42864C #425A86 #86427C #866E42
split-complementary
#42864C #6E4286 #86425A
monochromatic
#1A341D #2E5D35 #42864C #58AD65 #81C18B

Accessibility & contrast

On white

4.42
#42864C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#42864C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42864C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42864C#FFFFFF#000000##000000
##42864C1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C48
Deuteranopia (green-blind)
#7E7550
Tritanopia (blue-blind)
#368378
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #42864c;
/* rgb */ color: rgb(66, 134, 76);
/* oklch */ color: oklch(56.0% 0.112 147.1);
Tailwind
colors: {
  custom: {
    50: '#7baa7f',
    500: '#42864c',
    950: '#000000',
  },
}
SCSS
$custom: #42864c;
$custom-light: #7baa7f;
$custom-dark: #000000;
JSON
{
  "hex": "#42864c",
  "rgb": {
    "r": 66,
    "g": 134,
    "b": 76
  },
  "hsl": {
    "h": 128.824,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.56022,
    "c": 0.11228,
    "h": 147.1
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#42864C
secondary
#AC78A4
accent
#5EBACA
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#0A100A
muted
#7C7F7C

Preview Lab

Preview with #42864C

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

Preview Lab → · Contrast checker → · Palette generator →

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