#42581D#42581D

#42581D is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.8% C 0.089 H 127.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#42581D
RGBrgb(66, 88, 29)
HSLhsl(82, 50%, 23%)
HSVhsv(82, 67%, 35%)
CMYKcmyk(25%, 0%, 67%, 65.5%)
CIE-LABlab(34.45, -18.83, 30.63)
CIE-LCHlch(34.45, 35.95, 121.59°)
OKLaboklab(42.85% -0.0534 0.0706)
OKLCHoklch(42.85% 0.089 127.1)
XYZxyz(5.9583, 8.2263, 2.4361)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42581D #331D58
analogous
#58501D #42581D #24581D
triadic
#42581D #1D4258 #581D42
tetradic
#42581D #1D5850 #331D58 #581D24
square
#42581D #1D5850 #331D58 #581D24
split-complementary
#42581D #1D2458 #501D58
monochromatic
#111708 #1F2A0E #42581D #65862C #87B43B

Accessibility & contrast

On white

7.94
#42581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#42581D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42581D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42581D#FFFFFF#000000##FFFFFF
##42581D1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5216
Deuteranopia (green-blind)
#5A5121
Tritanopia (blue-blind)
#45544C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42581d;
/* rgb */ color: rgb(66, 88, 29);
/* oklch */ color: oklch(42.8% 0.089 127.1);
Tailwind
colors: {
  custom: {
    50: '#78875c',
    500: '#42581d',
    950: '#000000',
  },
}
SCSS
$custom: #42581d;
$custom-light: #78875c;
$custom-dark: #000000;
JSON
{
  "hex": "#42581d",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 82.373,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42848,
    "c": 0.08853,
    "h": 127.1
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#42581D
secondary
#5F448D
accent
#4EDA82
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42581D

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

Preview Lab → · Contrast checker → · Palette generator →

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