#2D5511#2D5511

#2D5511 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.106 H 135.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2D5511
RGBrgb(45, 85, 17)
HSLhsl(95, 67%, 20%)
HSVhsv(95, 80%, 33%)
CMYKcmyk(47.1%, 0%, 80%, 66.7%)
CIE-LABlab(32.02, -27.03, 33.14)
CIE-LCHlch(32.02, 42.77, 129.20°)
OKLaboklab(40.49% -0.0754 0.0744)
OKLCHoklch(40.49% 0.106 135.4)
XYZxyz(4.4318, 7.0951, 1.6662)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5511 #391155
analogous
#4F5511 #2D5511 #115517
triadic
#2D5511 #112D55 #55112D
tetradic
#2D5511 #114F55 #391155 #551711
square
#2D5511 #114F55 #391155 #551711
split-complementary
#2D5511 #171155 #55114F
monochromatic
#0E1A05 #122207 #2D5511 #48881B #63BB25

Accessibility & contrast

On white

8.68
#2D5511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D5511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5511
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5511#FFFFFF#000000##FFFFFF
##2D55111.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D05
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#2C5248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5511;
/* rgb */ color: rgb(45, 85, 17);
/* oklch */ color: oklch(40.5% 0.106 135.4);
Tailwind
colors: {
  custom: {
    50: '#6a8554',
    500: '#2d5511',
    950: '#000000',
  },
}
SCSS
$custom: #2d5511;
$custom-light: #6a8554;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5511",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 17
  },
  "hsl": {
    "h": 95.294,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.40495,
    "c": 0.10595,
    "h": 135.4
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#2D5511
secondary
#69348E
accent
#3EEAA3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5511

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

Preview Lab → · Contrast checker → · Palette generator →

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