#42541D#42541D

#42541D is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.8% C 0.082 H 125.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#42541D
RGBrgb(66, 84, 29)
HSLhsl(80, 49%, 22%)
HSVhsv(80, 65%, 33%)
CMYKcmyk(21.4%, 0%, 65.5%, 67.1%)
CIE-LABlab(33.11, -16.67, 29.15)
CIE-LCHlch(33.11, 33.58, 119.76°)
OKLaboklab(41.76% -0.0474 0.0674)
OKLCHoklch(41.76% 0.082 125.1)
XYZxyz(5.6389, 7.5875, 2.3296)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42541D #2F1D54
analogous
#544B1D #42541D #27541D
triadic
#42541D #1D4254 #541D42
tetradic
#42541D #1D544B #2F1D54 #541D27
square
#42541D #1D544B #2F1D54 #541D27
split-complementary
#42541D #1D2754 #4B1D54
monochromatic
#121708 #1E270D #42541D #66812D #89AF3C

Accessibility & contrast

On white

8.34
#42541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#42541D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42541D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42541D#FFFFFF#000000##FFFFFF
##42541D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E17
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#455048
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #42541d;
/* rgb */ color: rgb(66, 84, 29);
/* oklch */ color: oklch(41.8% 0.082 125.1);
Tailwind
colors: {
  custom: {
    50: '#78845b',
    500: '#42541d',
    950: '#000000',
  },
}
SCSS
$custom: #42541d;
$custom-light: #78845b;
$custom-dark: #000000;
JSON
{
  "hex": "#42541d",
  "rgb": {
    "r": 66,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 79.636,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41763,
    "c": 0.08245,
    "h": 125.1
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#42541D
secondary
#5A4489
accent
#50D87C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090A04
muted
#7B7C79

Preview Lab

Preview with #42541D

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

Preview Lab → · Contrast checker → · Palette generator →

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