#2A560E#2A560E

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

Color values

HEX#2A560E
RGBrgb(42, 86, 14)
HSLhsl(97, 72%, 20%)
HSVhsv(97, 84%, 34%)
CMYKcmyk(51.2%, 0%, 83.7%, 66.3%)
CIE-LABlab(32.21, -28.80, 34.43)
CIE-LCHlch(32.21, 44.89, 129.91°)
OKLaboklab(40.6% -0.0802 0.0766)
OKLCHoklch(40.6% 0.111 136.3)
XYZxyz(4.3618, 7.1792, 1.5713)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A560E #3A0E56
analogous
#4E560E #2A560E #0E5616
triadic
#2A560E #0E2A56 #560E2A
tetradic
#2A560E #0E4E56 #3A0E56 #56160E
square
#2A560E #0E4E56 #3A0E56 #56160E
split-complementary
#2A560E #160E56 #560E4E
monochromatic
#0D1A04 #102105 #2A560E #448B17 #5DBF1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A560E#FFFFFF#000000##FFFFFF
##2A560E1.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)
#544A16
Tritanopia (blue-blind)
#285349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a560e;
/* rgb */ color: rgb(42, 86, 14);
/* oklch */ color: oklch(40.6% 0.111 136.3);
Tailwind
colors: {
  custom: {
    50: '#698653',
    500: '#2a560e',
    950: '#000000',
  },
}
SCSS
$custom: #2a560e;
$custom-light: #698653;
$custom-dark: #000000;
JSON
{
  "hex": "#2a560e",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 96.667,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40604,
    "c": 0.11092,
    "h": 136.3
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#2A560E
secondary
#6B3090
accent
#39EFA8
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2A560E

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

Preview Lab → · Contrast checker → · Palette generator →

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