#2D5813#2D5813

#2D5813 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.4% C 0.109 H 136.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2D5813
RGBrgb(45, 88, 19)
HSLhsl(97, 64%, 21%)
HSVhsv(97, 78%, 35%)
CMYKcmyk(48.9%, 0%, 78.4%, 65.5%)
CIE-LABlab(33.10, -28.26, 33.40)
CIE-LCHlch(33.10, 43.75, 130.23°)
OKLaboklab(41.39% -0.0786 0.0753)
OKLCHoklch(41.39% 0.109 136.2)
XYZxyz(4.6893, 7.5841, 1.8327)
Luminance0.0758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5813 #3E1358
analogous
#4F5813 #2D5813 #13581B
triadic
#2D5813 #132D58 #58132D
tetradic
#2D5813 #134F58 #3E1358 #581B13
square
#2D5813 #134F58 #3E1358 #581B13
split-complementary
#2D5813 #1B1358 #58134F
monochromatic
#0D1905 #132608 #2D5813 #478A1E #60BD29

Accessibility & contrast

On white

8.34
#2D5813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2D5813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5813
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5813#FFFFFF#000000##FFFFFF
##2D58131.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5007
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#2B544B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d5813;
/* rgb */ color: rgb(45, 88, 19);
/* oklch */ color: oklch(41.4% 0.109 136.2);
Tailwind
colors: {
  custom: {
    50: '#6b8756',
    500: '#2d5813',
    950: '#000000',
  },
}
SCSS
$custom: #2d5813;
$custom-light: #6b8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5813",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 97.391,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41385,
    "c": 0.10881,
    "h": 136.2
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#2D5813
secondary
#6E3790
accent
#40E7A8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5813

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

Preview Lab → · Contrast checker → · Palette generator →

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