#42520E#42520E

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

Color values

HEX#42520E
RGBrgb(66, 82, 14)
HSLhsl(74, 71%, 19%)
HSVhsv(74, 83%, 32%)
CMYKcmyk(19.5%, 0%, 82.9%, 67.8%)
CIE-LABlab(32.31, -16.70, 35.05)
CIE-LCHlch(32.31, 38.83, 115.48°)
OKLaboklab(41.08% -0.0491 0.0774)
OKLCHoklch(41.08% 0.092 122.4)
XYZxyz(5.3434, 7.2245, 1.5283)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42520E #1E0E52
analogous
#52400E #42520E #20520E
triadic
#42520E #0E4252 #520E42
tetradic
#42520E #0E5240 #1E0E52 #520E20
square
#42520E #0E5240 #1E0E52 #520E20
split-complementary
#42520E #0E2052 #400E52
monochromatic
#151A04 #181E05 #42520E #6C8617 #96BB20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42520E#FFFFFF#000000##FFFFFF
##42520E1.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)
#574C01
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#464D45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42520e;
/* rgb */ color: rgb(66, 82, 14);
/* oklch */ color: oklch(41.1% 0.092 122.4);
Tailwind
colors: {
  custom: {
    50: '#798253',
    500: '#42520e',
    950: '#000000',
  },
}
SCSS
$custom: #42520e;
$custom-light: #798253;
$custom-dark: #000000;
JSON
{
  "hex": "#42520e",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 74.118,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.41081,
    "c": 0.09161,
    "h": 122.4
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#42520E
secondary
#452F8C
accent
#3AEE64
background
#F7F7F4
surface
#EEEEE7
border
#C9C9C3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #42520E

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

Preview Lab → · Contrast checker → · Palette generator →

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