#2D5316#2D5316

#2D5316 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.099 H 135.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2D5316
RGBrgb(45, 83, 22)
HSLhsl(97, 58%, 21%)
HSVhsv(97, 73%, 33%)
CMYKcmyk(45.8%, 0%, 73.5%, 67.5%)
CIE-LABlab(31.35, -25.66, 30.28)
CIE-LCHlch(31.35, 39.69, 130.28°)
OKLaboklab(39.96% -0.0713 0.0692)
OKLCHoklch(39.96% 0.099 135.9)
XYZxyz(4.3202, 6.8021, 1.8442)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5316 #3C1653
analogous
#4B5316 #2D5316 #16531D
triadic
#2D5316 #162D53 #53162D
tetradic
#2D5316 #164B53 #3C1653 #531D16
square
#2D5316 #164B53 #3C1653 #531D16
split-complementary
#2D5316 #1D1653 #53164B
monochromatic
#0D1806 #132309 #2D5316 #478323 #61B430

Accessibility & contrast

On white

8.90
#2D5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D5316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5316
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5316#FFFFFF#000000##FFFFFF
##2D53161.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0D
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#2C5047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d5316;
/* rgb */ color: rgb(45, 83, 22);
/* oklch */ color: oklch(40.0% 0.099 135.9);
Tailwind
colors: {
  custom: {
    50: '#6a8457',
    500: '#2d5316',
    950: '#000000',
  },
}
SCSS
$custom: #2d5316;
$custom-light: #6a8457;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5316",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 97.377,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39959,
    "c": 0.09936,
    "h": 135.9
  },
  "luminance": 0.06802
}

Semantic roles & 50–950 ramp

primary
#2D5316
secondary
#6C3A8A
accent
#46E1A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5316

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

Preview Lab → · Contrast checker → · Palette generator →

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