#42522D#42522D

#42522D is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.5% C 0.061 H 127.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#42522D
RGBrgb(66, 82, 45)
HSLhsl(86, 29%, 25%)
HSVhsv(86, 45%, 32%)
CMYKcmyk(19.5%, 0%, 45.1%, 67.8%)
CIE-LABlab(32.66, -13.61, 19.68)
CIE-LCHlch(32.66, 23.93, 124.66°)
OKLaboklab(41.47% -0.0374 0.0481)
OKLCHoklch(41.47% 0.061 127.9)
XYZxyz(5.7377, 7.3822, 3.6047)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42522D #3D2D52
analogous
#52502D #42522D #2F522D
triadic
#42522D #2D4252 #522D42
tetradic
#42522D #2D5250 #3D2D52 #522D2F
square
#42522D #2D5250 #3D2D52 #522D2F
split-complementary
#42522D #2D2F52 #502D52
monochromatic
#10140B #222A17 #42522D #627A43 #82A158

Accessibility & contrast

On white

8.48
#42522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#42522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42522D
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42522D#FFFFFF#000000##FFFFFF
##42522D1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2A
Deuteranopia (green-blind)
#534D2F
Tritanopia (blue-blind)
#444F49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42522d;
/* rgb */ color: rgb(66, 82, 45);
/* oklch */ color: oklch(41.5% 0.061 127.9);
Tailwind
colors: {
  custom: {
    50: '#778266',
    500: '#42522d',
    950: '#000000',
  },
}
SCSS
$custom: #42522d;
$custom-light: #778266;
$custom-dark: #000000;
JSON
{
  "hex": "#42522d",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 85.946,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.06095,
    "h": 127.9
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#42522D
secondary
#6A5784
accent
#62C58D
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#090A06
muted
#7B7C7A

Preview Lab

Preview with #42522D

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

Preview Lab → · Contrast checker → · Palette generator →

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