#42572E#42572E

#42572E is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.8% C 0.068 H 130.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#42572E
RGBrgb(66, 87, 46)
HSLhsl(91, 31%, 26%)
HSVhsv(91, 47%, 34%)
CMYKcmyk(24.1%, 0%, 47.1%, 65.9%)
CIE-LABlab(34.34, -16.27, 21.22)
CIE-LCHlch(34.34, 26.73, 127.47°)
OKLaboklab(42.83% -0.0448 0.0516)
OKLCHoklch(42.83% 0.068 130.9)
XYZxyz(6.1480, 8.1718, 3.8376)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42572E #432E57
analogous
#56572E #42572E #2E572E
triadic
#42572E #2E4257 #572E42
tetradic
#42572E #2E5657 #432E57 #572E2E
square
#42572E #2E5657 #432E57 #572E2E
split-complementary
#42572E #2E2E57 #572E56
monochromatic
#0F140B #242F19 #42572E #607F43 #7FA758

Accessibility & contrast

On white

7.97
#42572E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#42572E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42572E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42572E#FFFFFF#000000##FFFFFF
##42572E1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522B
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#43544D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42572e;
/* rgb */ color: rgb(66, 87, 46);
/* oklch */ color: oklch(42.8% 0.068 130.9);
Tailwind
colors: {
  custom: {
    50: '#778667',
    500: '#42572e',
    950: '#000000',
  },
}
SCSS
$custom: #42572e;
$custom-light: #778667;
$custom-dark: #000000;
JSON
{
  "hex": "#42572e",
  "rgb": {
    "r": 66,
    "g": 87,
    "b": 46
  },
  "hsl": {
    "h": 90.732,
    "s": 30.827,
    "l": 26.078
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.06836,
    "h": 130.9
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#42572E
secondary
#715889
accent
#61C795
background
#F7F8F6
surface
#EDEFEB
border
#C8CAC6
text
#090B06
muted
#7B7C7A

Preview Lab

Preview with #42572E

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

Preview Lab → · Contrast checker → · Palette generator →

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