#2D5616#2D5616

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

Color values

HEX#2D5616
RGBrgb(45, 86, 22)
HSLhsl(98, 59%, 21%)
HSVhsv(98, 74%, 34%)
CMYKcmyk(47.7%, 0%, 74.4%, 66.3%)
CIE-LABlab(32.42, -27.08, 31.40)
CIE-LCHlch(32.42, 41.46, 130.78°)
OKLaboklab(40.83% -0.0752 0.0715)
OKLCHoklch(40.83% 0.104 136.4)
XYZxyz(4.5547, 7.2711, 1.9224)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5616 #3F1656
analogous
#4D5616 #2D5616 #16561F
triadic
#2D5616 #162D56 #56162D
tetradic
#2D5616 #164D56 #3F1656 #561F16
square
#2D5616 #164D56 #3F1656 #561F16
split-complementary
#2D5616 #1F1656 #56164D
monochromatic
#0D1806 #13250A #2D5616 #468722 #60B72F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5616#FFFFFF#000000##FFFFFF
##2D56161.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)
#594E0D
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#2B5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d5616;
/* rgb */ color: rgb(45, 86, 22);
/* oklch */ color: oklch(40.8% 0.104 136.4);
Tailwind
colors: {
  custom: {
    50: '#6a8657',
    500: '#2d5616',
    950: '#000000',
  },
}
SCSS
$custom: #2d5616;
$custom-light: #6a8657;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5616",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 22
  },
  "hsl": {
    "h": 98.438,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4083,
    "c": 0.10376,
    "h": 136.4
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#2D5616
secondary
#703A8D
accent
#45E2AA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5616

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

Preview Lab → · Contrast checker → · Palette generator →

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