#42501D#42501D

#42501D is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.7% C 0.076 H 122.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#42501D
RGBrgb(66, 80, 29)
HSLhsl(76, 47%, 21%)
HSVhsv(76, 64%, 31%)
CMYKcmyk(17.5%, 0%, 63.7%, 68.6%)
CIE-LABlab(31.77, -14.44, 27.65)
CIE-LCHlch(31.77, 31.20, 117.58°)
OKLaboklab(40.69% -0.0413 0.0642)
OKLCHoklch(40.69% 0.076 122.7)
XYZxyz(5.3372, 6.9843, 2.2291)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42501D #2B1D50
analogous
#50451D #42501D #29501D
triadic
#42501D #1D4250 #501D42
tetradic
#42501D #1D5045 #2B1D50 #501D29
square
#42501D #1D5045 #2B1D50 #501D29
split-complementary
#42501D #1D2950 #451D50
monochromatic
#131608 #1D230D #42501D #677D2D #8CAA3E

Accessibility & contrast

On white

8.76
#42501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#42501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42501D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42501D#FFFFFF#000000##FFFFFF
##42501D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B18
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#454C45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42501d;
/* rgb */ color: rgb(66, 80, 29);
/* oklch */ color: oklch(40.7% 0.076 122.7);
Tailwind
colors: {
  custom: {
    50: '#78815b',
    500: '#42501d',
    950: '#000000',
  },
}
SCSS
$custom: #42501d;
$custom-light: #78815b;
$custom-dark: #000000;
JSON
{
  "hex": "#42501d",
  "rgb": {
    "r": 66,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 76.471,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.40685,
    "c": 0.07635,
    "h": 122.7
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#42501D
secondary
#564485
accent
#51D676
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #42501D

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

Preview Lab → · Contrast checker → · Palette generator →

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