#42561E#42561E

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

Color values

HEX#42561E
RGBrgb(66, 86, 30)
HSLhsl(81, 48%, 23%)
HSVhsv(81, 65%, 34%)
CMYKcmyk(23.3%, 0%, 65.1%, 66.3%)
CIE-LABlab(33.79, -17.66, 29.39)
CIE-LCHlch(33.79, 34.29, 121.00°)
OKLaboklab(42.32% -0.0501 0.0681)
OKLCHoklch(42.32% 0.085 126.3)
XYZxyz(5.8089, 7.9075, 2.4483)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42561E #321E56
analogous
#564E1E #42561E #26561E
triadic
#42561E #1E4256 #561E42
tetradic
#42561E #1E564E #321E56 #561E26
square
#42561E #1E564E #321E56 #561E26
split-complementary
#42561E #1E2656 #4E1E56
monochromatic
#111708 #1F290E #42561E #65832E #88B13E

Accessibility & contrast

On white

8.13
#42561E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42561E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42561E#FFFFFF#000000##FFFFFF
##42561E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42561e;
/* rgb */ color: rgb(66, 86, 30);
/* oklch */ color: oklch(42.3% 0.085 126.3);
Tailwind
colors: {
  custom: {
    50: '#78855c',
    500: '#42561e',
    950: '#000000',
  },
}
SCSS
$custom: #42561e;
$custom-light: #78855c;
$custom-dark: #000000;
JSON
{
  "hex": "#42561e",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 30
  },
  "hsl": {
    "h": 81.429,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.08454,
    "h": 126.3
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#42561E
secondary
#5E458B
accent
#50D880
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #42561E

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

Preview Lab → · Contrast checker → · Palette generator →

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