#2D5D11#2D5D11

#2D5D11 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.8% C 0.117 H 136.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2D5D11
RGBrgb(45, 93, 17)
HSLhsl(98, 69%, 22%)
HSVhsv(98, 82%, 36%)
CMYKcmyk(51.6%, 0%, 81.7%, 63.5%)
CIE-LABlab(34.86, -30.65, 35.92)
CIE-LCHlch(34.86, 47.22, 130.48°)
OKLaboklab(42.82% -0.0852 0.0802)
OKLCHoklch(42.82% 0.117 136.7)
XYZxyz(5.0976, 8.4267, 1.8881)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5D11 #41115D
analogous
#535D11 #2D5D11 #115D1B
triadic
#2D5D11 #112D5D #5D112D
tetradic
#2D5D11 #11535D #41115D #5D1B11
square
#2D5D11 #11535D #41115D #5D1B11
split-complementary
#2D5D11 #1B115D #5D1153
monochromatic
#0D1A05 #142908 #2D5D11 #46911A #5FC424

Accessibility & contrast

On white

7.82
#2D5D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D5D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5D11
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5D11#FFFFFF#000000##FFFFFF
##2D5D111.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605402
Deuteranopia (green-blind)
#5A5019
Tritanopia (blue-blind)
#2A594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d5d11;
/* rgb */ color: rgb(45, 93, 17);
/* oklch */ color: oklch(42.8% 0.117 136.7);
Tailwind
colors: {
  custom: {
    50: '#6b8b56',
    500: '#2d5d11',
    950: '#000000',
  },
}
SCSS
$custom: #2d5d11;
$custom-light: #6b8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5d11",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 97.895,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42822,
    "c": 0.11699,
    "h": 136.7
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#2D5D11
secondary
#723496
accent
#3CECAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5D11

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

Preview Lab → · Contrast checker → · Palette generator →

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