#42560D#42560D

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

Color values

HEX#42560D
RGBrgb(66, 86, 13)
HSLhsl(76, 74%, 19%)
HSVhsv(76, 85%, 34%)
CMYKcmyk(23.3%, 0%, 84.9%, 66.3%)
CIE-LABlab(33.65, -18.92, 36.65)
CIE-LCHlch(33.65, 41.25, 117.30°)
OKLaboklab(42.16% -0.0552 0.0805)
OKLCHoklch(42.16% 0.098 124.4)
XYZxyz(5.6473, 7.8428, 1.5970)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42560D #210D56
analogous
#56460D #42560D #1E560D
triadic
#42560D #0D4256 #560D42
tetradic
#42560D #0D5646 #210D56 #560D1E
square
#42560D #0D5646 #210D56 #560D1E
split-complementary
#42560D #0D1E56 #460D56
monochromatic
#141B04 #192105 #42560D #6B8B15 #94C01D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42560D#FFFFFF#000000##FFFFFF
##42560D1.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)
#594F15
Tritanopia (blue-blind)
#465149
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #42560d;
/* rgb */ color: rgb(66, 86, 13);
/* oklch */ color: oklch(42.2% 0.098 124.4);
Tailwind
colors: {
  custom: {
    50: '#798553',
    500: '#42560d',
    950: '#000000',
  },
}
SCSS
$custom: #42560d;
$custom-light: #798553;
$custom-dark: #000000;
JSON
{
  "hex": "#42560d",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 76.438,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.09765,
    "h": 124.4
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#42560D
secondary
#492E91
accent
#37F06A
background
#F7F8F4
surface
#EEEFE8
border
#C9CAC4
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42560D

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

Preview Lab → · Contrast checker → · Palette generator →

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