#2D560E#2D560E

#2D560E is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.8% C 0.109 H 135.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2D560E
RGBrgb(45, 86, 14)
HSLhsl(94, 72%, 20%)
HSVhsv(94, 84%, 34%)
CMYKcmyk(47.7%, 0%, 83.7%, 66.3%)
CIE-LABlab(32.36, -27.70, 34.62)
CIE-LCHlch(32.36, 44.34, 128.67°)
OKLaboklab(40.76% -0.0775 0.077)
OKLCHoklch(40.76% 0.109 135.2)
XYZxyz(4.4891, 7.2449, 1.5772)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D560E #370E56
analogous
#51560E #2D560E #0E5613
triadic
#2D560E #0E2D56 #560E2D
tetradic
#2D560E #0E5156 #370E56 #56130E
square
#2D560E #0E5156 #370E56 #56130E
split-complementary
#2D560E #130E56 #560E51
monochromatic
#0E1A04 #112105 #2D560E #498B17 #64BF1F

Accessibility & contrast

On white

8.57
#2D560E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D560E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D560E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D560E#FFFFFF#000000##FFFFFF
##2D560E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E00
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#2C5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d560e;
/* rgb */ color: rgb(45, 86, 14);
/* oklch */ color: oklch(40.8% 0.109 135.2);
Tailwind
colors: {
  custom: {
    50: '#6b8653',
    500: '#2d560e',
    950: '#000000',
  },
}
SCSS
$custom: #2d560e;
$custom-light: #6b8653;
$custom-dark: #000000;
JSON
{
  "hex": "#2d560e",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 14
  },
  "hsl": {
    "h": 94.167,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40764,
    "c": 0.10921,
    "h": 135.2
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#2D560E
secondary
#673090
accent
#39EFA1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D560E

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

Preview Lab → · Contrast checker → · Palette generator →

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