#42560E#42560E

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

Color values

HEX#42560E
RGBrgb(66, 86, 14)
HSLhsl(77, 72%, 20%)
HSVhsv(77, 84%, 34%)
CMYKcmyk(23.3%, 0%, 83.7%, 66.3%)
CIE-LABlab(33.66, -18.87, 36.31)
CIE-LCHlch(33.66, 40.92, 117.46°)
OKLaboklab(42.17% -0.055 0.08)
OKLCHoklch(42.17% 0.097 124.5)
XYZxyz(5.6539, 7.8455, 1.6318)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42560E #220E56
analogous
#56460E #42560E #1E560E
triadic
#42560E #0E4256 #560E42
tetradic
#42560E #0E5646 #220E56 #560E1E
square
#42560E #0E5646 #220E56 #560E1E
split-complementary
#42560E #0E1E56 #460E56
monochromatic
#141A04 #1A2105 #42560E #6A8B17 #93BF1F

Accessibility & contrast

On white

8.17
#42560E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42560E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42560E#FFFFFF#000000##FFFFFF
##42560E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.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: #42560e;
/* rgb */ color: rgb(66, 86, 14);
/* oklch */ color: oklch(42.2% 0.097 124.5);
Tailwind
colors: {
  custom: {
    50: '#798553',
    500: '#42560e',
    950: '#000000',
  },
}
SCSS
$custom: #42560e;
$custom-light: #798553;
$custom-dark: #000000;
JSON
{
  "hex": "#42560e",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 76.667,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.09707,
    "h": 124.5
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#42560E
secondary
#4A3090
accent
#39EF6C
background
#F7F8F5
surface
#EEEFE8
border
#C9CAC4
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42560E

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

Preview Lab → · Contrast checker → · Palette generator →

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