#2D5510#2D5510

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

Color values

HEX#2D5510
RGBrgb(45, 85, 16)
HSLhsl(95, 68%, 20%)
HSVhsv(95, 81%, 33%)
CMYKcmyk(47.1%, 0%, 81.2%, 66.7%)
CIE-LABlab(32.02, -27.10, 33.53)
CIE-LCHlch(32.02, 43.12, 128.95°)
OKLaboklab(40.49% -0.0757 0.0751)
OKLCHoklch(40.49% 0.107 135.3)
XYZxyz(4.4241, 7.0920, 1.6259)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5510 #381055
analogous
#4F5510 #2D5510 #105516
triadic
#2D5510 #102D55 #55102D
tetradic
#2D5510 #104F55 #381055 #551610
square
#2D5510 #104F55 #381055 #551610
split-complementary
#2D5510 #161055 #55104F
monochromatic
#0E1A05 #122106 #2D5510 #48891A #64BC23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5510#FFFFFF#000000##FFFFFF
##2D55101.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)
#584D03
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#2C5148
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5510;
/* rgb */ color: rgb(45, 85, 16);
/* oklch */ color: oklch(40.5% 0.107 135.3);
Tailwind
colors: {
  custom: {
    50: '#6a8554',
    500: '#2d5510',
    950: '#000000',
  },
}
SCSS
$custom: #2d5510;
$custom-light: #6a8554;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5510",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 16
  },
  "hsl": {
    "h": 94.783,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.1066,
    "h": 135.3
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#2D5510
secondary
#68328F
accent
#3DEBA2
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5510

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

Preview Lab → · Contrast checker → · Palette generator →

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