#42895F#42895F

#42895F is a mid, moderate green. Relative luminance 0.199; OKLCH L 57.2% C 0.097 H 155.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#42895F
RGBrgb(66, 137, 95)
HSLhsl(145, 35%, 40%)
HSVhsv(145, 52%, 54%)
CMYKcmyk(51.8%, 0%, 30.7%, 46.3%)
CIE-LABlab(51.70, -32.49, 15.86)
CIE-LCHlch(51.70, 36.15, 153.98°)
OKLaboklab(57.22% -0.0888 0.0402)
OKLCHoklch(57.22% 0.097 155.6)
XYZxyz(13.2570, 19.8747, 13.9619)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42895F #89426C
analogous
#498942 #42895F #428982
triadic
#42895F #5F4289 #895F42
tetradic
#42895F #424989 #89426C #898242
square
#42895F #424989 #89426C #898242
split-complementary
#42895F #824289 #894249
monochromatic
#1A3626 #2E6042 #42895F #59AF7C #82C39D

Accessibility & contrast

On white

4.22
#42895F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#42895F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42895F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42895F#FFFFFF#000000##000000
##42895F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88805C
Deuteranopia (green-blind)
#7E7862
Tritanopia (blue-blind)
#2F887E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #42895f;
/* rgb */ color: rgb(66, 137, 95);
/* oklch */ color: oklch(57.2% 0.097 155.6);
Tailwind
colors: {
  custom: {
    50: '#7cac8c',
    500: '#42895f',
    950: '#000000',
  },
}
SCSS
$custom: #42895f;
$custom-light: #7cac8c;
$custom-dark: #000000;
JSON
{
  "hex": "#42895f",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 95
  },
  "hsl": {
    "h": 144.507,
    "s": 34.975,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.09745,
    "h": 155.6
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#42895F
secondary
#AE7998
accent
#5D9ECB
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A100C
muted
#7C7F7D

Preview Lab

Preview with #42895F

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

Preview Lab → · Contrast checker → · Palette generator →

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