#42560B#42560B

#42560B is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.2% C 0.099 H 124.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#42560B
RGBrgb(66, 86, 11)
HSLhsl(76, 77%, 19%)
HSVhsv(76, 87%, 34%)
CMYKcmyk(23.3%, 0%, 87.2%, 66.3%)
CIE-LABlab(33.64, -19.01, 37.30)
CIE-LCHlch(33.64, 41.87, 117.01°)
OKLaboklab(42.15% -0.0556 0.0815)
OKLCHoklch(42.15% 0.099 124.3)
XYZxyz(5.6350, 7.8379, 1.5325)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42560B #1F0B56
analogous
#56450B #42560B #1D560B
triadic
#42560B #0B4256 #560B42
tetradic
#42560B #0B5645 #1F0B56 #560B1D
square
#42560B #0B5645 #1F0B56 #560B1D
split-complementary
#42560B #0B1D56 #450B56
monochromatic
#151B03 #182004 #42560B #6C8C12 #95C319

Accessibility & contrast

On white

8.18
#42560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#42560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42560B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42560B#FFFFFF#000000##FFFFFF
##42560B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5000
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#465148
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #42560b;
/* rgb */ color: rgb(66, 86, 11);
/* oklch */ color: oklch(42.2% 0.099 124.3);
Tailwind
colors: {
  custom: {
    50: '#798552',
    500: '#42560b',
    950: '#000000',
  },
}
SCSS
$custom: #42560b;
$custom-light: #798552;
$custom-dark: #000000;
JSON
{
  "hex": "#42560b",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 76,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.09872,
    "h": 124.3
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#42560B
secondary
#472B91
accent
#34F467
background
#F7F8F4
surface
#EEEFE7
border
#C9CAC3
text
#090B02
muted
#7B7C78

Preview Lab

Preview with #42560B

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

Preview Lab → · Contrast checker → · Palette generator →

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