#2D5319#2D5319

#2D5319 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.097 H 136.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2D5319
RGBrgb(45, 83, 25)
HSLhsl(99, 54%, 21%)
HSVhsv(99, 70%, 33%)
CMYKcmyk(45.8%, 0%, 69.9%, 67.5%)
CIE-LABlab(31.38, -25.37, 28.87)
CIE-LCHlch(31.38, 38.43, 131.30°)
OKLaboklab(39.99% -0.0703 0.0666)
OKLCHoklch(39.99% 0.097 136.5)
XYZxyz(4.3508, 6.8143, 2.0056)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5319 #3F1953
analogous
#4A5319 #2D5319 #195322
triadic
#2D5319 #192D53 #53192D
tetradic
#2D5319 #194A53 #3F1953 #532219
square
#2D5319 #194A53 #3F1953 #532219
split-complementary
#2D5319 #221953 #53194A
monochromatic
#0D1807 #13240B #2D5319 #468227 #60B135

Accessibility & contrast

On white

8.89
#2D5319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2D5319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5319
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5319#FFFFFF#000000##FFFFFF
##2D53191.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C12
Deuteranopia (green-blind)
#51491E
Tritanopia (blue-blind)
#2B5047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d5319;
/* rgb */ color: rgb(45, 83, 25);
/* oklch */ color: oklch(40.0% 0.097 136.5);
Tailwind
colors: {
  custom: {
    50: '#698459',
    500: '#2d5319',
    950: '#000000',
  },
}
SCSS
$custom: #2d5319;
$custom-light: #698459;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5319",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 25
  },
  "hsl": {
    "h": 99.31,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39991,
    "c": 0.09684,
    "h": 136.5
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#2D5319
secondary
#703E89
accent
#4BDDAB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5319

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

Preview Lab → · Contrast checker → · Palette generator →

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