#42895E#42895E

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

Color values

HEX#42895E
RGBrgb(66, 137, 94)
HSLhsl(144, 35%, 40%)
HSVhsv(144, 52%, 54%)
CMYKcmyk(51.8%, 0%, 31.4%, 46.3%)
CIE-LABlab(51.67, -32.69, 16.40)
CIE-LCHlch(51.67, 36.58, 153.36°)
OKLaboklab(57.2% -0.0892 0.0415)
OKLCHoklch(57.2% 0.098 155)
XYZxyz(13.2118, 19.8566, 13.7240)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42895E #89426D
analogous
#4A8942 #42895E #428981
triadic
#42895E #5E4289 #895E42
tetradic
#42895E #424A89 #89426D #898142
square
#42895E #424A89 #89426D #898142
split-complementary
#42895E #814289 #89424A
monochromatic
#1A3625 #2E6042 #42895E #59AF7B #82C39C

Accessibility & contrast

On white

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

On black

4.97
#42895E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42895E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42895E#FFFFFF#000000##000000
##42895E1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F5B
Deuteranopia (green-blind)
#7E7861
Tritanopia (blue-blind)
#30887E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #42895e;
/* rgb */ color: rgb(66, 137, 94);
/* oklch */ color: oklch(57.2% 0.098 155.0);
Tailwind
colors: {
  custom: {
    50: '#7cac8c',
    500: '#42895e',
    950: '#000000',
  },
}
SCSS
$custom: #42895e;
$custom-light: #7cac8c;
$custom-dark: #000000;
JSON
{
  "hex": "#42895e",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 94
  },
  "hsl": {
    "h": 143.662,
    "s": 34.975,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57198,
    "c": 0.09844,
    "h": 155
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#42895E
secondary
#AE7999
accent
#5DA0CB
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A100C
muted
#7C7F7D

Preview Lab

Preview with #42895E

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

Preview Lab → · Contrast checker → · Palette generator →

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