#2D5715#2D5715

#2D5715 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.1% C 0.106 H 136.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2D5715
RGBrgb(45, 87, 21)
HSLhsl(98, 61%, 21%)
HSVhsv(98, 76%, 34%)
CMYKcmyk(48.3%, 0%, 75.9%, 65.9%)
CIE-LABlab(32.76, -27.63, 32.20)
CIE-LCHlch(32.76, 42.43, 130.63°)
OKLaboklab(41.11% -0.0767 0.0731)
OKLCHoklch(41.11% 0.106 136.4)
XYZxyz(4.6256, 7.4281, 1.8994)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5715 #3F1557
analogous
#4E5715 #2D5715 #15571E
triadic
#2D5715 #152D57 #57152D
tetradic
#2D5715 #154E57 #3F1557 #571E15
square
#2D5715 #154E57 #3F1557 #571E15
split-complementary
#2D5715 #1E1557 #57154E
monochromatic
#0D1906 #132609 #2D5715 #468821 #60BA2D

Accessibility & contrast

On white

8.45
#2D5715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D5715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5715
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5715#FFFFFF#000000##FFFFFF
##2D57151.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#2B544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d5715;
/* rgb */ color: rgb(45, 87, 21);
/* oklch */ color: oklch(41.1% 0.106 136.4);
Tailwind
colors: {
  custom: {
    50: '#6a8757',
    500: '#2d5715',
    950: '#000000',
  },
}
SCSS
$custom: #2d5715;
$custom-light: #6a8757;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5715",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 98.182,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41112,
    "c": 0.10596,
    "h": 136.4
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#2D5715
secondary
#70398F
accent
#44E4AA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5715

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

Preview Lab → · Contrast checker → · Palette generator →

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