#42582D#42582D

#42582D is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 43.1% C 0.071 H 131.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#42582D
RGBrgb(66, 88, 45)
HSLhsl(91, 32%, 26%)
HSVhsv(91, 49%, 35%)
CMYKcmyk(25%, 0%, 48.9%, 65.5%)
CIE-LABlab(34.65, -16.96, 22.19)
CIE-LCHlch(34.65, 27.93, 127.38°)
OKLaboklab(43.08% -0.0468 0.0538)
OKLCHoklch(43.08% 0.071 131)
XYZxyz(6.2101, 8.3270, 3.7622)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42582D #432D58
analogous
#57582D #42582D #2D582D
triadic
#42582D #2D4258 #582D42
tetradic
#42582D #2D5758 #432D58 #582D2D
square
#42582D #2D5758 #432D58 #582D2D
split-complementary
#42582D #2D2D58 #582D57
monochromatic
#0F140A #243018 #42582D #608042 #7FA957

Accessibility & contrast

On white

7.88
#42582D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#42582D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42582D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42582D#FFFFFF#000000##FFFFFF
##42582D1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532A
Deuteranopia (green-blind)
#58512F
Tritanopia (blue-blind)
#43554E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42582d;
/* rgb */ color: rgb(66, 88, 45);
/* oklch */ color: oklch(43.1% 0.071 131.0);
Tailwind
colors: {
  custom: {
    50: '#778767',
    500: '#42582d',
    950: '#000000',
  },
}
SCSS
$custom: #42582d;
$custom-light: #778767;
$custom-dark: #000000;
JSON
{
  "hex": "#42582d",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 45
  },
  "hsl": {
    "h": 90.698,
    "s": 32.331,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4308,
    "c": 0.0713,
    "h": 131
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#42582D
secondary
#71578A
accent
#5FC895
background
#F7F8F6
surface
#EDEFEB
border
#C8CAC6
text
#090B06
muted
#7B7C7A

Preview Lab

Preview with #42582D

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

Preview Lab → · Contrast checker → · Palette generator →

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