#2D5513#2D5513

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

Color values

HEX#2D5513
RGBrgb(45, 85, 19)
HSLhsl(96, 63%, 20%)
HSVhsv(96, 78%, 33%)
CMYKcmyk(47.1%, 0%, 77.6%, 66.7%)
CIE-LABlab(32.04, -26.87, 32.33)
CIE-LCHlch(32.04, 42.04, 129.74°)
OKLaboklab(40.51% -0.0748 0.073)
OKLCHoklch(40.51% 0.105 135.7)
XYZxyz(4.4481, 7.1016, 1.7523)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5513 #3B1355
analogous
#4E5513 #2D5513 #13551A
triadic
#2D5513 #132D55 #55132D
tetradic
#2D5513 #134E55 #3B1355 #551A13
square
#2D5513 #134E55 #3B1355 #551A13
split-complementary
#2D5513 #1A1355 #55134E
monochromatic
#0D1906 #132308 #2D5513 #47871E #62B929

Accessibility & contrast

On white

8.68
#2D5513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5513
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5513#FFFFFF#000000##FFFFFF
##2D55131.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D08
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#2C5248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5513;
/* rgb */ color: rgb(45, 85, 19);
/* oklch */ color: oklch(40.5% 0.105 135.7);
Tailwind
colors: {
  custom: {
    50: '#6a8555',
    500: '#2d5513',
    950: '#000000',
  },
}
SCSS
$custom: #2d5513;
$custom-light: #6a8555;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5513",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 19
  },
  "hsl": {
    "h": 96.364,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40512,
    "c": 0.10457,
    "h": 135.7
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#2D5513
secondary
#6B368D
accent
#41E6A5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5513

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

Preview Lab → · Contrast checker → · Palette generator →

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