#2D501C#2D501C

#2D501C is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.089 H 136.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2D501C
RGBrgb(45, 80, 28)
HSLhsl(100, 48%, 21%)
HSVhsv(100, 65%, 31%)
CMYKcmyk(43.7%, 0%, 65%, 68.6%)
CIE-LABlab(30.35, -23.57, 26.19)
CIE-LCHlch(30.35, 35.23, 131.99°)
OKLaboklab(39.16% -0.0651 0.0613)
OKLCHoklch(39.16% 0.089 136.7)
XYZxyz(4.1603, 6.3788, 2.1104)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D501C #3F1C50
analogous
#47501C #2D501C #1C5025
triadic
#2D501C #1C2D50 #501C2D
tetradic
#2D501C #1C4750 #3F1C50 #50251C
square
#2D501C #1C4750 #3F1C50 #50251C
split-complementary
#2D501C #251C50 #501C47
monochromatic
#0D1708 #13230C #2D501C #467D2C #60AB3C

Accessibility & contrast

On white

9.23
#2D501C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D501C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D501C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D501C#FFFFFF#000000##FFFFFF
##2D501C1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534916
Deuteranopia (green-blind)
#4E4620
Tritanopia (blue-blind)
#2C4D45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d501c;
/* rgb */ color: rgb(45, 80, 28);
/* oklch */ color: oklch(39.2% 0.089 136.7);
Tailwind
colors: {
  custom: {
    50: '#69815a',
    500: '#2d501c',
    950: '#000000',
  },
}
SCSS
$custom: #2d501c;
$custom-light: #69815a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d501c",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 100.385,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.08942,
    "h": 136.7
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#2D501C
secondary
#704286
accent
#50D8AB
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D501C

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

Preview Lab → · Contrast checker → · Palette generator →

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