#42815C#42815C

#42815C is a mid, moderate green. Relative luminance 0.176; OKLCH L 55.0% C 0.088 H 156.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#42815C
RGBrgb(66, 129, 92)
HSLhsl(145, 32%, 38%)
HSVhsv(145, 49%, 51%)
CMYKcmyk(48.8%, 0%, 28.7%, 49.4%)
CIE-LABlab(49.05, -29.34, 13.94)
CIE-LCHlch(49.05, 32.48, 154.59°)
OKLaboklab(55.04% -0.0804 0.0355)
OKLCHoklch(55.04% 0.088 156.2)
XYZxyz(12.0279, 17.6306, 12.8924)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42815C #814267
analogous
#478142 #42815C #42817B
triadic
#42815C #5C4281 #815C42
tetradic
#42815C #424781 #814267 #817B42
square
#42815C #424781 #814267 #817B42
split-complementary
#42815C #7B4281 #814247
monochromatic
#193022 #2D593F #42815C #57A979 #80BE99

Accessibility & contrast

On white

4.64
#42815C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#42815C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #42815C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42815C#FFFFFF#000000##FFFFFF
##42815C1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80785A
Deuteranopia (green-blind)
#77725E
Tritanopia (blue-blind)
#328077
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #42815c;
/* rgb */ color: rgb(66, 129, 92);
/* oklch */ color: oklch(55.0% 0.088 156.2);
Tailwind
colors: {
  custom: {
    50: '#7aa68a',
    500: '#42815c',
    950: '#000000',
  },
}
SCSS
$custom: #42815c;
$custom-light: #7aa68a;
$custom-dark: #000000;
JSON
{
  "hex": "#42815c",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 92
  },
  "hsl": {
    "h": 144.762,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55041,
    "c": 0.08785,
    "h": 156.2
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#42815C
secondary
#A97694
accent
#5F9DC8
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#090F0B
muted
#7B7F7C

Preview Lab

Preview with #42815C

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

Preview Lab → · Contrast checker → · Palette generator →

#42815C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva