#42845B#42845B

#42845B is a mid, moderate green. Relative luminance 0.184; OKLCH L 55.8% C 0.094 H 154.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#42845B
RGBrgb(66, 132, 91)
HSLhsl(143, 33%, 39%)
HSVhsv(143, 50%, 52%)
CMYKcmyk(50%, 0%, 31.1%, 48.2%)
CIE-LABlab(50.00, -30.97, 15.82)
CIE-LCHlch(50.00, 34.78, 152.95°)
OKLaboklab(55.81% -0.0846 0.0401)
OKLCHoklch(55.81% 0.094 154.7)
XYZxyz(12.3855, 18.4151, 12.7973)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42845B #84426B
analogous
#4A8442 #42845B #42847C
triadic
#42845B #5B4284 #845B42
tetradic
#42845B #424A84 #84426B #847C42
square
#42845B #424A84 #84426B #847C42
split-complementary
#42845B #7C4284 #84424A
monochromatic
#193223 #2E5B3F #42845B #58AB77 #81C099

Accessibility & contrast

On white

4.48
#42845B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#42845B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42845B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42845B#FFFFFF#000000##000000
##42845B1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847B59
Deuteranopia (green-blind)
#7A745D
Tritanopia (blue-blind)
#328379
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42845b;
/* rgb */ color: rgb(66, 132, 91);
/* oklch */ color: oklch(55.8% 0.094 154.7);
Tailwind
colors: {
  custom: {
    50: '#7ba889',
    500: '#42845b',
    950: '#000000',
  },
}
SCSS
$custom: #42845b;
$custom-light: #7ba889;
$custom-dark: #000000;
JSON
{
  "hex": "#42845b",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 91
  },
  "hsl": {
    "h": 142.727,
    "s": 33.333,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.09361,
    "h": 154.7
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#42845B
secondary
#AB7797
accent
#5EA1C9
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A100B
muted
#7C7F7C

Preview Lab

Preview with #42845B

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

Preview Lab → · Contrast checker → · Palette generator →

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