#42815D#42815D

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

Color values

HEX#42815D
RGBrgb(66, 129, 93)
HSLhsl(146, 32%, 38%)
HSVhsv(146, 49%, 51%)
CMYKcmyk(48.8%, 0%, 27.9%, 49.4%)
CIE-LABlab(49.07, -29.13, 13.39)
CIE-LCHlch(49.07, 32.06, 155.31°)
OKLaboklab(55.07% -0.0799 0.0341)
OKLCHoklch(55.07% 0.087 156.9)
XYZxyz(12.0719, 17.6482, 13.1241)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42815D #814266
analogous
#468142 #42815D #42817C
triadic
#42815D #5D4281 #815D42
tetradic
#42815D #424681 #814266 #817C42
square
#42815D #424681 #814266 #817C42
split-complementary
#42815D #7C4281 #814246
monochromatic
#193023 #2D5940 #42815D #57A97A #80BE9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42815D#FFFFFF#000000##FFFFFF
##42815D1.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)
#80795B
Deuteranopia (green-blind)
#77725F
Tritanopia (blue-blind)
#328077
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #42815d;
/* rgb */ color: rgb(66, 129, 93);
/* oklch */ color: oklch(55.1% 0.087 156.9);
Tailwind
colors: {
  custom: {
    50: '#7aa68b',
    500: '#42815d',
    950: '#000000',
  },
}
SCSS
$custom: #42815d;
$custom-light: #7aa68b;
$custom-dark: #000000;
JSON
{
  "hex": "#42815d",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 93
  },
  "hsl": {
    "h": 145.714,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55066,
    "c": 0.08686,
    "h": 156.9
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#42815D
secondary
#A97693
accent
#5F9BC8
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#090F0C
muted
#7B7F7D

Preview Lab

Preview with #42815D

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

Preview Lab → · Contrast checker → · Palette generator →

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