#2D5516#2D5516

#2D5516 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.102 H 136.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2D5516
RGBrgb(45, 85, 22)
HSLhsl(98, 59%, 21%)
HSVhsv(98, 74%, 33%)
CMYKcmyk(47.1%, 0%, 74.1%, 66.7%)
CIE-LABlab(32.06, -26.61, 31.03)
CIE-LCHlch(32.06, 40.88, 130.62°)
OKLaboklab(40.54% -0.0739 0.0707)
OKLCHoklch(40.54% 0.102 136.2)
XYZxyz(4.4754, 7.1126, 1.8959)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5516 #3E1655
analogous
#4C5516 #2D5516 #16551E
triadic
#2D5516 #162D55 #55162D
tetradic
#2D5516 #164C55 #3E1655 #551E16
square
#2D5516 #164C55 #3E1655 #551E16
split-complementary
#2D5516 #1E1655 #55164C
monochromatic
#0D1806 #132409 #2D5516 #478623 #60B62F

Accessibility & contrast

On white

8.67
#2D5516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D5516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5516
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5516#FFFFFF#000000##FFFFFF
##2D55161.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0D
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#2B5248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5516;
/* rgb */ color: rgb(45, 85, 22);
/* oklch */ color: oklch(40.5% 0.102 136.2);
Tailwind
colors: {
  custom: {
    50: '#6a8557',
    500: '#2d5516',
    950: '#000000',
  },
}
SCSS
$custom: #2d5516;
$custom-light: #6a8557;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5516",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 22
  },
  "hsl": {
    "h": 98.095,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4054,
    "c": 0.1023,
    "h": 136.2
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

primary
#2D5516
secondary
#6E3A8C
accent
#46E2A9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5516

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

Preview Lab → · Contrast checker → · Palette generator →

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