#2D5E11#2D5E11

#2D5E11 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.118 H 136.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2D5E11
RGBrgb(45, 94, 17)
HSLhsl(98, 69%, 22%)
HSVhsv(98, 82%, 37%)
CMYKcmyk(52.1%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.21, -31.09, 36.26)
CIE-LCHlch(35.21, 47.76, 130.61°)
OKLaboklab(43.11% -0.0864 0.0809)
OKLCHoklch(43.11% 0.118 136.9)
XYZxyz(5.1859, 8.6034, 1.9176)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E11 #42115E
analogous
#545E11 #2D5E11 #115E1C
triadic
#2D5E11 #112D5E #5E112D
tetradic
#2D5E11 #11545E #42115E #5E1C11
square
#2D5E11 #11545E #42115E #5E1C11
split-complementary
#2D5E11 #1C115E #5E1154
monochromatic
#0C1A05 #142A08 #2D5E11 #46921A #5FC624

Accessibility & contrast

On white

7.72
#2D5E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D5E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E11
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E11#FFFFFF#000000##FFFFFF
##2D5E111.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#2A5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e11;
/* rgb */ color: rgb(45, 94, 17);
/* oklch */ color: oklch(43.1% 0.118 136.9);
Tailwind
colors: {
  custom: {
    50: '#6c8c56',
    500: '#2d5e11',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e11;
$custom-light: #6c8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e11",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 98.182,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.11834,
    "h": 136.9
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#2D5E11
secondary
#733497
accent
#3CECAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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