#2A560D#2A560D

#2A560D is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.6% C 0.112 H 136.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2A560D
RGBrgb(42, 86, 13)
HSLhsl(96, 74%, 19%)
HSVhsv(96, 85%, 34%)
CMYKcmyk(51.2%, 0%, 84.9%, 66.3%)
CIE-LABlab(32.21, -28.86, 34.78)
CIE-LCHlch(32.21, 45.20, 129.68°)
OKLaboklab(40.6% -0.0804 0.0772)
OKLCHoklch(40.6% 0.112 136.2)
XYZxyz(4.3552, 7.1766, 1.5364)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A560D #390D56
analogous
#4F560D #2A560D #0D5614
triadic
#2A560D #0D2A56 #560D2A
tetradic
#2A560D #0D4F56 #390D56 #56140D
square
#2A560D #0D4F56 #390D56 #56140D
split-complementary
#2A560D #140D56 #560D4F
monochromatic
#0D1B04 #102105 #2A560D #448B15 #5EC01D

Accessibility & contrast

On white

8.62
#2A560D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A560D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A560D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A560D#FFFFFF#000000##FFFFFF
##2A560D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#544A15
Tritanopia (blue-blind)
#285248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a560d;
/* rgb */ color: rgb(42, 86, 13);
/* oklch */ color: oklch(40.6% 0.112 136.2);
Tailwind
colors: {
  custom: {
    50: '#698653',
    500: '#2a560d',
    950: '#000000',
  },
}
SCSS
$custom: #2a560d;
$custom-light: #698653;
$custom-dark: #000000;
JSON
{
  "hex": "#2a560d",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 96.164,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40597,
    "c": 0.1115,
    "h": 136.2
  },
  "luminance": 0.07177
}

Semantic roles & 50–950 ramp

primary
#2A560D
secondary
#6A2E91
accent
#37F0A7
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A560D

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

Preview Lab → · Contrast checker → · Palette generator →

#2A560D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva