#2D5913#2D5913

#2D5913 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.7% C 0.110 H 136.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2D5913
RGBrgb(45, 89, 19)
HSLhsl(98, 65%, 21%)
HSVhsv(98, 79%, 35%)
CMYKcmyk(49.4%, 0%, 78.7%, 65.1%)
CIE-LABlab(33.46, -28.71, 33.76)
CIE-LCHlch(33.46, 44.32, 130.39°)
OKLaboklab(41.68% -0.0798 0.076)
OKLCHoklch(41.68% 0.11 136.4)
XYZxyz(4.7720, 7.7494, 1.8603)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5913 #3F1359
analogous
#505913 #2D5913 #13591C
triadic
#2D5913 #132D59 #59132D
tetradic
#2D5913 #135059 #3F1359 #591C13
square
#2D5913 #135059 #3F1359 #591C13
split-complementary
#2D5913 #1C1359 #591350
monochromatic
#0D1905 #132708 #2D5913 #468B1E #60BE29

Accessibility & contrast

On white

8.24
#2D5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5913
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5913#FFFFFF#000000##FFFFFF
##2D59131.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#2B554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5913;
/* rgb */ color: rgb(45, 89, 19);
/* oklch */ color: oklch(41.7% 0.110 136.4);
Tailwind
colors: {
  custom: {
    50: '#6b8856',
    500: '#2d5913',
    950: '#000000',
  },
}
SCSS
$custom: #2d5913;
$custom-light: #6b8856;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5913",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 97.714,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41675,
    "c": 0.11021,
    "h": 136.4
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#2D5913
secondary
#703791
accent
#40E8A9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5913

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

Preview Lab → · Contrast checker → · Palette generator →

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