#42845E#42845E

#42845E is a mid, moderate green. Relative luminance 0.185; OKLCH L 55.9% C 0.091 H 156.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#42845E
RGBrgb(66, 132, 94)
HSLhsl(145, 33%, 39%)
HSVhsv(145, 50%, 52%)
CMYKcmyk(50%, 0%, 28.8%, 48.2%)
CIE-LABlab(50.06, -30.35, 14.18)
CIE-LCHlch(50.06, 33.50, 154.95°)
OKLaboklab(55.88% -0.0831 0.0361)
OKLCHoklch(55.88% 0.091 156.5)
XYZxyz(12.5175, 18.4679, 13.4926)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42845E #844268
analogous
#478442 #42845E #42847F
triadic
#42845E #5E4284 #845E42
tetradic
#42845E #424784 #844268 #847F42
square
#42845E #424784 #844268 #847F42
split-complementary
#42845E #7F4284 #844247
monochromatic
#193224 #2E5B41 #42845E #58AB7B #81C09B

Accessibility & contrast

On white

4.47
#42845E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#42845E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42845E
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42845E#FFFFFF#000000##000000
##42845E1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837B5C
Deuteranopia (green-blind)
#7A7460
Tritanopia (blue-blind)
#31837A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #42845e;
/* rgb */ color: rgb(66, 132, 94);
/* oklch */ color: oklch(55.9% 0.091 156.5);
Tailwind
colors: {
  custom: {
    50: '#7ba88b',
    500: '#42845e',
    950: '#000000',
  },
}
SCSS
$custom: #42845e;
$custom-light: #7ba88b;
$custom-dark: #000000;
JSON
{
  "hex": "#42845e",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 94
  },
  "hsl": {
    "h": 145.455,
    "s": 33.333,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.09062,
    "h": 156.5
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

primary
#42845E
secondary
#AB7795
accent
#5E9CC9
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#0A0F0C
muted
#7C7F7D

Preview Lab

Preview with #42845E

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

Preview Lab → · Contrast checker → · Palette generator →

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