#2D560D#2D560D

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

Color values

HEX#2D560D
RGBrgb(45, 86, 13)
HSLhsl(94, 74%, 19%)
HSVhsv(94, 85%, 34%)
CMYKcmyk(47.7%, 0%, 84.9%, 66.3%)
CIE-LABlab(32.35, -27.77, 34.97)
CIE-LCHlch(32.35, 44.66, 128.45°)
OKLaboklab(40.76% -0.0777 0.0775)
OKLCHoklch(40.76% 0.11 135.1)
XYZxyz(4.4825, 7.2423, 1.5424)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D560D #360D56
analogous
#52560D #2D560D #0D5612
triadic
#2D560D #0D2D56 #560D2D
tetradic
#2D560D #0D5256 #360D56 #56120D
square
#2D560D #0D5256 #360D56 #56120D
split-complementary
#2D560D #120D56 #560D52
monochromatic
#0E1B04 #112105 #2D560D #498B15 #65C01D

Accessibility & contrast

On white

8.58
#2D560D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D560D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D560D#FFFFFF#000000##FFFFFF
##2D560D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#2C5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d560d;
/* rgb */ color: rgb(45, 86, 13);
/* oklch */ color: oklch(40.8% 0.110 135.1);
Tailwind
colors: {
  custom: {
    50: '#6b8653',
    500: '#2d560d',
    950: '#000000',
  },
}
SCSS
$custom: #2d560d;
$custom-light: #6b8653;
$custom-dark: #000000;
JSON
{
  "hex": "#2d560d",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 93.699,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.10979,
    "h": 135.1
  },
  "luminance": 0.07243
}

Semantic roles & 50–950 ramp

primary
#2D560D
secondary
#652E91
accent
#37F09F
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D560D

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

Preview Lab → · Contrast checker → · Palette generator →

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