#42520B#42520B

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

Color values

HEX#42520B
RGBrgb(66, 82, 11)
HSLhsl(74, 76%, 18%)
HSVhsv(74, 87%, 32%)
CMYKcmyk(19.5%, 0%, 86.6%, 67.8%)
CIE-LABlab(32.30, -16.86, 36.09)
CIE-LCHlch(32.30, 39.83, 115.03°)
OKLaboklab(41.06% -0.0498 0.079)
OKLCHoklch(41.06% 0.093 122.2)
XYZxyz(5.3245, 7.2170, 1.4291)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42520B #1B0B52
analogous
#523E0B #42520B #1E520B
triadic
#42520B #0B4252 #520B42
tetradic
#42520B #0B523E #1B0B52 #520B1E
square
#42520B #0B523E #1B0B52 #520B1E
split-complementary
#42520B #0B1E52 #3E0B52
monochromatic
#161B04 #171C04 #42520B #6D8812 #99BE19

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42520B#FFFFFF#000000##FFFFFF
##42520B1.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)
#554C12
Tritanopia (blue-blind)
#464D45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42520b;
/* rgb */ color: rgb(66, 82, 11);
/* oklch */ color: oklch(41.1% 0.093 122.2);
Tailwind
colors: {
  custom: {
    50: '#798251',
    500: '#42520b',
    950: '#000000',
  },
}
SCSS
$custom: #42520b;
$custom-light: #798251;
$custom-dark: #000000;
JSON
{
  "hex": "#42520b",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 73.521,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.09335,
    "h": 122.2
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#42520B
secondary
#412B8E
accent
#35F360
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#090A02
muted
#7B7C78

Preview Lab

Preview with #42520B

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

Preview Lab → · Contrast checker → · Palette generator →

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