#2D520D#2D520D

#2D520D is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.6% C 0.104 H 134.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2D520D
RGBrgb(45, 82, 13)
HSLhsl(92, 73%, 19%)
HSVhsv(92, 84%, 32%)
CMYKcmyk(45.1%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.93, -25.90, 33.63)
CIE-LCHlch(30.93, 42.45, 127.61°)
OKLaboklab(39.59% -0.0727 0.0747)
OKLCHoklch(39.59% 0.104 134.2)
XYZxyz(4.1720, 6.6213, 1.4389)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D520D #320D52
analogous
#4F520D #2D520D #0D520F
triadic
#2D520D #0D2D52 #520D2D
tetradic
#2D520D #0D4F52 #320D52 #520F0D
square
#2D520D #0D4F52 #320D52 #520F0D
split-complementary
#2D520D #0F0D52 #520D4F
monochromatic
#0E1A04 #101D05 #2D520D #4A8715 #67BC1E

Accessibility & contrast

On white

9.03
#2D520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2D520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D520D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D520D#FFFFFF#000000##FFFFFF
##2D520D1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#2D4E45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d520d;
/* rgb */ color: rgb(45, 82, 13);
/* oklch */ color: oklch(39.6% 0.104 134.2);
Tailwind
colors: {
  custom: {
    50: '#6a8352',
    500: '#2d520d',
    950: '#000000',
  },
}
SCSS
$custom: #2d520d;
$custom-light: #6a8352;
$custom-dark: #000000;
JSON
{
  "hex": "#2d520d",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 92.174,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.10425,
    "h": 134.2
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#2D520D
secondary
#612E8D
accent
#38EF9B
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D520D

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

Preview Lab → · Contrast checker → · Palette generator →

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