#2D5C11#2D5C11

#2D5C11 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.5% C 0.116 H 136.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2D5C11
RGBrgb(45, 92, 17)
HSLhsl(98, 69%, 21%)
HSVhsv(98, 82%, 36%)
CMYKcmyk(51.1%, 0%, 81.5%, 63.9%)
CIE-LABlab(34.50, -30.21, 35.57)
CIE-LCHlch(34.50, 46.67, 130.34°)
OKLaboklab(42.53% -0.084 0.0795)
OKLCHoklch(42.53% 0.116 136.6)
XYZxyz(5.0104, 8.2523, 1.8590)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C11 #40115C
analogous
#535C11 #2D5C11 #115C1B
triadic
#2D5C11 #112D5C #5C112D
tetradic
#2D5C11 #11535C #40115C #5C1B11
square
#2D5C11 #11535C #40115C #5C1B11
split-complementary
#2D5C11 #1B115C #5C1153
monochromatic
#0D1A05 #142807 #2D5C11 #46901B #60C324

Accessibility & contrast

On white

7.92
#2D5C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D5C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5C11
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C11#FFFFFF#000000##FFFFFF
##2D5C111.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5402
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#2B584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5c11;
/* rgb */ color: rgb(45, 92, 17);
/* oklch */ color: oklch(42.5% 0.116 136.6);
Tailwind
colors: {
  custom: {
    50: '#6b8a55',
    500: '#2d5c11',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c11;
$custom-light: #6b8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c11",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 97.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42532,
    "c": 0.11564,
    "h": 136.6
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#2D5C11
secondary
#713495
accent
#3CECAA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5C11

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

Preview Lab → · Contrast checker → · Palette generator →

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