#42804E#42804E

#42804E is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.5% C 0.101 H 148.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#42804E
RGBrgb(66, 128, 78)
HSLhsl(132, 32%, 38%)
HSVhsv(132, 48%, 50%)
CMYKcmyk(48.4%, 0%, 39.1%, 49.8%)
CIE-LABlab(48.44, -31.62, 21.12)
CIE-LCHlch(48.44, 38.03, 146.26°)
OKLaboklab(54.46% -0.0859 0.0526)
OKLCHoklch(54.46% 0.101 148.5)
XYZxyz(11.3404, 17.1458, 9.9181)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42804E #804274
analogous
#558042 #42804E #42806D
triadic
#42804E #4E4280 #804E42
tetradic
#42804E #425580 #804274 #806D42
square
#42804E #425580 #804274 #806D42
split-complementary
#42804E #6D4280 #804255
monochromatic
#182F1D #2D5835 #42804E #57A867 #7FBD8B

Accessibility & contrast

On white

4.74
#42804E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#42804E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42804E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42804E#FFFFFF#000000##FFFFFF
##42804E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774B
Deuteranopia (green-blind)
#787151
Tritanopia (blue-blind)
#377E73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #42804e;
/* rgb */ color: rgb(66, 128, 78);
/* oklch */ color: oklch(54.5% 0.101 148.5);
Tailwind
colors: {
  custom: {
    50: '#7aa580',
    500: '#42804e',
    950: '#000000',
  },
}
SCSS
$custom: #42804e;
$custom-light: #7aa580;
$custom-dark: #000000;
JSON
{
  "hex": "#42804e",
  "rgb": {
    "r": 66,
    "g": 128,
    "b": 78
  },
  "hsl": {
    "h": 131.613,
    "s": 31.959,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.10078,
    "h": 148.5
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

primary
#42804E
secondary
#A8769E
accent
#60B4C8
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #42804E

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

Preview Lab → · Contrast checker → · Palette generator →

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