#42561C#42561C

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

Color values

HEX#42561C
RGBrgb(66, 86, 28)
HSLhsl(81, 51%, 22%)
HSVhsv(81, 67%, 34%)
CMYKcmyk(23.3%, 0%, 67.4%, 66.3%)
CIE-LABlab(33.77, -17.85, 30.38)
CIE-LCHlch(33.77, 35.23, 120.44°)
OKLaboklab(42.29% -0.0508 0.0699)
OKLCHoklch(42.29% 0.086 126)
XYZxyz(5.7842, 7.8976, 2.3180)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42561C #301C56
analogous
#564D1C #42561C #25561C
triadic
#42561C #1C4256 #561C42
tetradic
#42561C #1C564D #301C56 #561C25
square
#42561C #1C564D #301C56 #561C25
split-complementary
#42561C #1C2556 #4D1C56
monochromatic
#121708 #1F280D #42561C #65842B #89B23A

Accessibility & contrast

On white

8.14
#42561C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42561C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42561C#FFFFFF#000000##FFFFFF
##42561C1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42561c;
/* rgb */ color: rgb(66, 86, 28);
/* oklch */ color: oklch(42.3% 0.086 126.0);
Tailwind
colors: {
  custom: {
    50: '#78855b',
    500: '#42561c',
    950: '#000000',
  },
}
SCSS
$custom: #42561c;
$custom-light: #78855b;
$custom-dark: #000000;
JSON
{
  "hex": "#42561c",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 28
  },
  "hsl": {
    "h": 80.69,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.08643,
    "h": 126
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#42561C
secondary
#5C428C
accent
#4DDA7E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42561C

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

Preview Lab → · Contrast checker → · Palette generator →

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