#2D5613#2D5613

#2D5613 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.8% C 0.106 H 135.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2D5613
RGBrgb(45, 86, 19)
HSLhsl(97, 64%, 21%)
HSVhsv(97, 78%, 34%)
CMYKcmyk(47.7%, 0%, 77.9%, 66.3%)
CIE-LABlab(32.39, -27.34, 32.69)
CIE-LCHlch(32.39, 42.61, 129.91°)
OKLaboklab(40.8% -0.0761 0.0738)
OKLCHoklch(40.8% 0.106 135.9)
XYZxyz(4.5274, 7.2602, 1.7788)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5613 #3C1356
analogous
#4E5613 #2D5613 #13561A
triadic
#2D5613 #132D56 #56132D
tetradic
#2D5613 #134E56 #3C1356 #561A13
square
#2D5613 #134E56 #3C1356 #561A13
split-complementary
#2D5613 #1A1356 #56134E
monochromatic
#0D1906 #132408 #2D5613 #47881E #61BA29

Accessibility & contrast

On white

8.56
#2D5613 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5613
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5613#FFFFFF#000000##FFFFFF
##2D56131.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E07
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#2B5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d5613;
/* rgb */ color: rgb(45, 86, 19);
/* oklch */ color: oklch(40.8% 0.106 135.9);
Tailwind
colors: {
  custom: {
    50: '#6a8656',
    500: '#2d5613',
    950: '#000000',
  },
}
SCSS
$custom: #2d5613;
$custom-light: #6a8656;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5613",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 19
  },
  "hsl": {
    "h": 96.716,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40803,
    "c": 0.10599,
    "h": 135.9
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#2D5613
secondary
#6C368E
accent
#41E7A6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5613

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

Preview Lab → · Contrast checker → · Palette generator →

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