#42520D#42520D

#42520D is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.1% C 0.092 H 122.3°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#42520D
RGBrgb(66, 82, 13)
HSLhsl(74, 73%, 19%)
HSVhsv(74, 84%, 32%)
CMYKcmyk(19.5%, 0%, 84.1%, 67.8%)
CIE-LABlab(32.31, -16.76, 35.41)
CIE-LCHlch(32.31, 39.18, 115.32°)
OKLaboklab(41.07% -0.0493 0.0779)
OKLCHoklch(41.07% 0.092 122.3)
XYZxyz(5.3368, 7.2219, 1.4935)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42520D #1D0D52
analogous
#523F0D #42520D #1F520D
triadic
#42520D #0D4252 #520D42
tetradic
#42520D #0D523F #1D0D52 #520D1F
square
#42520D #0D523F #1D0D52 #520D1F
split-complementary
#42520D #0D1F52 #3F0D52
monochromatic
#151A04 #171D05 #42520D #6D8715 #97BC1E

Accessibility & contrast

On white

8.59
#42520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#42520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42520D
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42520D#FFFFFF#000000##FFFFFF
##42520D1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#464D45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42520d;
/* rgb */ color: rgb(66, 82, 13);
/* oklch */ color: oklch(41.1% 0.092 122.3);
Tailwind
colors: {
  custom: {
    50: '#798252',
    500: '#42520d',
    950: '#000000',
  },
}
SCSS
$custom: #42520d;
$custom-light: #798252;
$custom-dark: #000000;
JSON
{
  "hex": "#42520d",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 73.913,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.09221,
    "h": 122.3
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#42520D
secondary
#442E8D
accent
#38EF63
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #42520D

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

Preview Lab → · Contrast checker → · Palette generator →

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