#42895D#42895D

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

Color values

HEX#42895D
RGBrgb(66, 137, 93)
HSLhsl(143, 35%, 40%)
HSVhsv(143, 52%, 54%)
CMYKcmyk(51.8%, 0%, 32.1%, 46.3%)
CIE-LABlab(51.65, -32.90, 16.94)
CIE-LCHlch(51.65, 37.01, 152.75°)
OKLaboklab(57.17% -0.0897 0.0428)
OKLCHoklch(57.17% 0.099 154.5)
XYZxyz(13.1672, 19.8388, 13.4892)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42895D #89426E
analogous
#4B8942 #42895D #428981
triadic
#42895D #5D4289 #895D42
tetradic
#42895D #424B89 #89426E #898142
square
#42895D #424B89 #89426E #898142
split-complementary
#42895D #814289 #89424B
monochromatic
#1A3625 #2E6041 #42895D #59AF7A #82C39B

Accessibility & contrast

On white

4.23
#42895D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##42895D#FFFFFF#000000##000000
##42895D1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897F5A
Deuteranopia (green-blind)
#7E7860
Tritanopia (blue-blind)
#30887D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #42895d;
/* rgb */ color: rgb(66, 137, 93);
/* oklch */ color: oklch(57.2% 0.099 154.5);
Tailwind
colors: {
  custom: {
    50: '#7cac8b',
    500: '#42895d',
    950: '#000000',
  },
}
SCSS
$custom: #42895d;
$custom-light: #7cac8b;
$custom-dark: #000000;
JSON
{
  "hex": "#42895d",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 93
  },
  "hsl": {
    "h": 142.817,
    "s": 34.975,
    "l": 39.804
  },
  "oklch": {
    "l": 0.57174,
    "c": 0.09943,
    "h": 154.5
  },
  "luminance": 0.1984
}

Semantic roles & 50–950 ramp

primary
#42895D
secondary
#AE799A
accent
#5DA1CB
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A100C
muted
#7C7F7D

Preview Lab

Preview with #42895D

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

Preview Lab → · Contrast checker → · Palette generator →

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