#2D5313#2D5313

#2D5313 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.102 H 135.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2D5313
RGBrgb(45, 83, 19)
HSLhsl(96, 63%, 20%)
HSVhsv(96, 77%, 33%)
CMYKcmyk(45.8%, 0%, 77.1%, 67.5%)
CIE-LABlab(31.33, -25.93, 31.60)
CIE-LCHlch(31.33, 40.88, 129.37°)
OKLaboklab(39.93% -0.0723 0.0715)
OKLCHoklch(39.93% 0.102 135.3)
XYZxyz(4.2929, 6.7912, 1.7006)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5313 #391353
analogous
#4D5313 #2D5313 #135319
triadic
#2D5313 #132D53 #53132D
tetradic
#2D5313 #134D53 #391353 #531913
square
#2D5313 #134D53 #391353 #531913
split-complementary
#2D5313 #191353 #53134D
monochromatic
#0E1906 #122108 #2D5313 #48851E #63B72A

Accessibility & contrast

On white

8.91
#2D5313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5313
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5313#FFFFFF#000000##FFFFFF
##2D53131.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C09
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#2C5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d5313;
/* rgb */ color: rgb(45, 83, 19);
/* oklch */ color: oklch(39.9% 0.102 135.3);
Tailwind
colors: {
  custom: {
    50: '#6a8455',
    500: '#2d5313',
    950: '#000000',
  },
}
SCSS
$custom: #2d5313;
$custom-light: #6a8455;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5313",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 95.625,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.3993,
    "c": 0.10168,
    "h": 135.3
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#2D5313
secondary
#69368B
accent
#42E6A3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5313

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

Preview Lab → · Contrast checker → · Palette generator →

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