#42875B#42875B

#42875B is a mid, moderate green. Relative luminance 0.192; OKLCH L 56.6% C 0.098 H 153.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#42875B
RGBrgb(66, 135, 91)
HSLhsl(142, 34%, 39%)
HSVhsv(142, 51%, 53%)
CMYKcmyk(51.1%, 0%, 32.6%, 47.1%)
CIE-LABlab(50.97, -32.38, 17.14)
CIE-LCHlch(50.97, 36.64, 152.10°)
OKLaboklab(56.6% -0.0883 0.0433)
OKLCHoklch(56.6% 0.098 153.9)
XYZxyz(12.7981, 19.2405, 12.9349)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42875B #87426E
analogous
#4C8742 #42875B #42877E
triadic
#42875B #5B4287 #875B42
tetradic
#42875B #424C87 #87426E #877E42
square
#42875B #424C87 #87426E #877E42
split-complementary
#42875B #7E4287 #87424C
monochromatic
#1A3524 #2E5E3F #42875B #59AE77 #82C299

Accessibility & contrast

On white

4.33
#42875B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#42875B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42875B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42875B#FFFFFF#000000##000000
##42875B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877E58
Deuteranopia (green-blind)
#7D775E
Tritanopia (blue-blind)
#31867B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #42875b;
/* rgb */ color: rgb(66, 135, 91);
/* oklch */ color: oklch(56.6% 0.098 153.9);
Tailwind
colors: {
  custom: {
    50: '#7baa89',
    500: '#42875b',
    950: '#000000',
  },
}
SCSS
$custom: #42875b;
$custom-light: #7baa89;
$custom-dark: #000000;
JSON
{
  "hex": "#42875b",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 141.739,
    "s": 34.328,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.09833,
    "h": 153.9
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#42875B
secondary
#AC789A
accent
#5DA3CA
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A100B
muted
#7C7F7C

Preview Lab

Preview with #42875B

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

Preview Lab → · Contrast checker → · Palette generator →

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