#42885F#42885F

#42885F is a mid, moderate green. Relative luminance 0.196; OKLCH L 57.0% C 0.096 H 155.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#42885F
RGBrgb(66, 136, 95)
HSLhsl(145, 35%, 40%)
HSVhsv(145, 51%, 53%)
CMYKcmyk(51.5%, 0%, 30.1%, 46.7%)
CIE-LABlab(51.37, -32.02, 15.42)
CIE-LCHlch(51.37, 35.54, 154.29°)
OKLaboklab(56.96% -0.0875 0.0391)
OKLCHoklch(56.96% 0.096 155.9)
XYZxyz(13.1155, 19.5917, 13.9147)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42885F #88426B
analogous
#488842 #42885F #428882
triadic
#42885F #5F4288 #885F42
tetradic
#42885F #424888 #88426B #888242
square
#42885F #424888 #88426B #888242
split-complementary
#42885F #824288 #884248
monochromatic
#1A3625 #2E5F42 #42885F #59AE7C #82C29D

Accessibility & contrast

On white

4.27
#42885F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#42885F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42885F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42885F#FFFFFF#000000##000000
##42885F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F5D
Deuteranopia (green-blind)
#7D7861
Tritanopia (blue-blind)
#30877D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #42885f;
/* rgb */ color: rgb(66, 136, 95);
/* oklch */ color: oklch(57.0% 0.096 155.9);
Tailwind
colors: {
  custom: {
    50: '#7bab8c',
    500: '#42885f',
    950: '#000000',
  },
}
SCSS
$custom: #42885f;
$custom-light: #7bab8c;
$custom-dark: #000000;
JSON
{
  "hex": "#42885f",
  "rgb": {
    "r": 66,
    "g": 136,
    "b": 95
  },
  "hsl": {
    "h": 144.857,
    "s": 34.653,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.0959,
    "h": 155.9
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#42885F
secondary
#AD7997
accent
#5D9DCB
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A100C
muted
#7C7F7D

Preview Lab

Preview with #42885F

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

Preview Lab → · Contrast checker → · Palette generator →

#42885F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva