#2D5615#2D5615

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

Color values

HEX#2D5615
RGBrgb(45, 86, 21)
HSLhsl(98, 61%, 21%)
HSVhsv(98, 76%, 34%)
CMYKcmyk(47.7%, 0%, 75.6%, 66.3%)
CIE-LABlab(32.41, -27.17, 31.84)
CIE-LCHlch(32.41, 41.85, 130.48°)
OKLaboklab(40.82% -0.0755 0.0723)
OKLCHoklch(40.82% 0.105 136.2)
XYZxyz(4.5452, 7.2673, 1.8726)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5615 #3E1556
analogous
#4D5615 #2D5615 #15561D
triadic
#2D5615 #152D56 #56152D
tetradic
#2D5615 #154D56 #3E1556 #561D15
square
#2D5615 #154D56 #3E1556 #561D15
split-complementary
#2D5615 #1D1556 #56154D
monochromatic
#0D1906 #132509 #2D5615 #478721 #60B82D

Accessibility & contrast

On white

8.56
#2D5615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5615
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5615#FFFFFF#000000##FFFFFF
##2D56151.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5615;
/* rgb */ color: rgb(45, 86, 21);
/* oklch */ color: oklch(40.8% 0.105 136.2);
Tailwind
colors: {
  custom: {
    50: '#6a8657',
    500: '#2d5615',
    950: '#000000',
  },
}
SCSS
$custom: #2d5615;
$custom-light: #6a8657;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5615",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 97.846,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.10453,
    "h": 136.2
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#2D5615
secondary
#6E398E
accent
#44E4A9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5615

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

Preview Lab → · Contrast checker → · Palette generator →

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