#2D5413#2D5413

#2D5413 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.103 H 135.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2D5413
RGBrgb(45, 84, 19)
HSLhsl(96, 63%, 20%)
HSVhsv(96, 77%, 33%)
CMYKcmyk(46.4%, 0%, 77.4%, 67.1%)
CIE-LABlab(31.68, -26.40, 31.97)
CIE-LCHlch(31.68, 41.46, 129.56°)
OKLaboklab(40.22% -0.0736 0.0723)
OKLCHoklch(40.22% 0.103 135.5)
XYZxyz(4.3700, 6.9453, 1.7263)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5413 #3A1354
analogous
#4D5413 #2D5413 #135419
triadic
#2D5413 #132D54 #54132D
tetradic
#2D5413 #134D54 #3A1354 #541913
square
#2D5413 #134D54 #3A1354 #541913
split-complementary
#2D5413 #191354 #54134D
monochromatic
#0D1906 #122208 #2D5413 #48861E #62B82A

Accessibility & contrast

On white

8.79
#2D5413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D5413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5413
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5413#FFFFFF#000000##FFFFFF
##2D54131.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D08
Deuteranopia (green-blind)
#524919
Tritanopia (blue-blind)
#2C5147
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5413;
/* rgb */ color: rgb(45, 84, 19);
/* oklch */ color: oklch(40.2% 0.103 135.5);
Tailwind
colors: {
  custom: {
    50: '#6a8455',
    500: '#2d5413',
    950: '#000000',
  },
}
SCSS
$custom: #2d5413;
$custom-light: #6a8455;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5413",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 96,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40221,
    "c": 0.10313,
    "h": 135.5
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#2D5413
secondary
#6A368C
accent
#42E6A4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5413

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

Preview Lab → · Contrast checker → · Palette generator →

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