#2D5411#2D5411

#2D5411 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.105 H 135.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#2D5411
RGBrgb(45, 84, 17)
HSLhsl(95, 66%, 20%)
HSVhsv(95, 80%, 33%)
CMYKcmyk(46.4%, 0%, 79.8%, 67.1%)
CIE-LABlab(31.67, -26.56, 32.79)
CIE-LCHlch(31.67, 42.20, 129.01°)
OKLaboklab(40.2% -0.0742 0.0737)
OKLCHoklch(40.2% 0.105 135.2)
XYZxyz(4.3536, 6.9388, 1.6401)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5411 #381154
analogous
#4F5411 #2D5411 #115416
triadic
#2D5411 #112D54 #54112D
tetradic
#2D5411 #114F54 #381154 #541611
square
#2D5411 #114F54 #381154 #541611
split-complementary
#2D5411 #161154 #54114F
monochromatic
#0E1905 #122107 #2D5411 #48871B #64BA26

Accessibility & contrast

On white

8.79
#2D5411 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D5411 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5411
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5411#FFFFFF#000000##FFFFFF
##2D54111.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D05
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#2C5147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d5411;
/* rgb */ color: rgb(45, 84, 17);
/* oklch */ color: oklch(40.2% 0.105 135.2);
Tailwind
colors: {
  custom: {
    50: '#6a8454',
    500: '#2d5411',
    950: '#000000',
  },
}
SCSS
$custom: #2d5411;
$custom-light: #6a8454;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5411",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 94.925,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40204,
    "c": 0.10453,
    "h": 135.2
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#2D5411
secondary
#68348D
accent
#3FE9A2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5411

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

Preview Lab → · Contrast checker → · Palette generator →

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