#2D5617#2D5617

#2D5617 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.8% C 0.103 H 136.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2D5617
RGBrgb(45, 86, 23)
HSLhsl(99, 58%, 21%)
HSVhsv(99, 73%, 34%)
CMYKcmyk(47.7%, 0%, 73.3%, 66.3%)
CIE-LABlab(32.43, -26.99, 30.95)
CIE-LCHlch(32.43, 41.06, 131.09°)
OKLaboklab(40.84% -0.0748 0.0707)
OKLCHoklch(40.84% 0.103 136.6)
XYZxyz(4.5645, 7.2751, 1.9742)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5617 #401756
analogous
#4D5617 #2D5617 #175621
triadic
#2D5617 #172D56 #56172D
tetradic
#2D5617 #174D56 #401756 #562117
square
#2D5617 #174D56 #401756 #562117
split-complementary
#2D5617 #211756 #56174D
monochromatic
#0D1806 #14260A #2D5617 #468624 #60B731

Accessibility & contrast

On white

8.55
#2D5617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D5617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5617
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5617#FFFFFF#000000##FFFFFF
##2D56171.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0E
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#2B5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d5617;
/* rgb */ color: rgb(45, 86, 23);
/* oklch */ color: oklch(40.8% 0.103 136.6);
Tailwind
colors: {
  custom: {
    50: '#6a8658',
    500: '#2d5617',
    950: '#000000',
  },
}
SCSS
$custom: #2d5617;
$custom-light: #6a8658;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5617",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 99.048,
    "s": 57.798,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4084,
    "c": 0.10297,
    "h": 136.6
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#2D5617
secondary
#713C8D
accent
#47E1AB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5617

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

Preview Lab → · Contrast checker → · Palette generator →

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