#42560F#42560F

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

Color values

HEX#42560F
RGBrgb(66, 86, 15)
HSLhsl(77, 70%, 20%)
HSVhsv(77, 83%, 34%)
CMYKcmyk(23.3%, 0%, 82.6%, 66.3%)
CIE-LABlab(33.66, -18.81, 35.95)
CIE-LCHlch(33.66, 40.58, 117.62°)
OKLaboklab(42.18% -0.0548 0.0794)
OKLCHoklch(42.18% 0.096 124.6)
XYZxyz(5.6608, 7.8483, 1.6685)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42560F #230F56
analogous
#56460F #42560F #1F560F
triadic
#42560F #0F4256 #560F42
tetradic
#42560F #0F5646 #230F56 #560F1F
square
#42560F #0F5646 #230F56 #560F1F
split-complementary
#42560F #0F1F56 #460F56
monochromatic
#141A05 #1A2206 #42560F #6A8A18 #92BE21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42560F#FFFFFF#000000##FFFFFF
##42560F1.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)
#5B5001
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#465149
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #42560f;
/* rgb */ color: rgb(66, 86, 15);
/* oklch */ color: oklch(42.2% 0.096 124.6);
Tailwind
colors: {
  custom: {
    50: '#798554',
    500: '#42560f',
    950: '#000000',
  },
}
SCSS
$custom: #42560f;
$custom-light: #798554;
$custom-dark: #000000;
JSON
{
  "hex": "#42560f",
  "rgb": {
    "r": 66,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 76.901,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.42176,
    "c": 0.09648,
    "h": 124.6
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#42560F
secondary
#4C3190
accent
#3BED6D
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #42560F

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

Preview Lab → · Contrast checker → · Palette generator →

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