#42561A#42561A

#42561A is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.3% C 0.088 H 125.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#42561A
RGBrgb(66, 86, 26)
HSLhsl(80, 54%, 22%)
HSVhsv(80, 70%, 34%)
CMYKcmyk(23.3%, 0%, 69.8%, 66.3%)
CIE-LABlab(33.75, -18.03, 31.33)
CIE-LCHlch(33.75, 36.15, 119.92°)
OKLaboklab(42.27% -0.0515 0.0716)
OKLCHoklch(42.27% 0.088 125.7)
XYZxyz(5.7610, 7.8883, 2.1962)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42561A #2E1A56
analogous
#564C1A #42561A #24561A
triadic
#42561A #1A4256 #561A42
tetradic
#42561A #1A564C #2E1A56 #561A24
square
#42561A #1A564C #2E1A56 #561A24
split-complementary
#42561A #1A2456 #4C1A56
monochromatic
#121707 #1E270C #42561A #668528 #8AB436

Accessibility & contrast

On white

8.15
#42561A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#42561A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42561A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42561A#FFFFFF#000000##FFFFFF
##42561A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5012
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#45524A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #42561a;
/* rgb */ color: rgb(66, 86, 26);
/* oklch */ color: oklch(42.3% 0.088 125.7);
Tailwind
colors: {
  custom: {
    50: '#78855a',
    500: '#42561a',
    950: '#000000',
  },
}
SCSS
$custom: #42561a;
$custom-light: #78855a;
$custom-dark: #000000;
JSON
{
  "hex": "#42561a",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 80,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.08825,
    "h": 125.7
  },
  "luminance": 0.07888
}

Semantic roles & 50–950 ramp

primary
#42561A
secondary
#59408C
accent
#4BDD7C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42561A

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

Preview Lab → · Contrast checker → · Palette generator →

#42561A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva