#2D5911#2D5911

#2D5911 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.7% C 0.112 H 136.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2D5911
RGBrgb(45, 89, 17)
HSLhsl(97, 68%, 21%)
HSVhsv(97, 81%, 35%)
CMYKcmyk(49.4%, 0%, 80.9%, 65.1%)
CIE-LABlab(33.44, -28.87, 34.54)
CIE-LCHlch(33.44, 45.01, 129.89°)
OKLaboklab(41.66% -0.0804 0.0773)
OKLCHoklch(41.66% 0.112 136.1)
XYZxyz(4.7556, 7.7428, 1.7741)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5911 #3D1159
analogous
#515911 #2D5911 #115919
triadic
#2D5911 #112D59 #59112D
tetradic
#2D5911 #115159 #3D1159 #591911
square
#2D5911 #115159 #3D1159 #591911
split-complementary
#2D5911 #191159 #591151
monochromatic
#0D1A05 #132607 #2D5911 #478C1B #61C025

Accessibility & contrast

On white

8.24
#2D5911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D5911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5911
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5911#FFFFFF#000000##FFFFFF
##2D59111.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5103
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#2B554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5911;
/* rgb */ color: rgb(45, 89, 17);
/* oklch */ color: oklch(41.7% 0.112 136.1);
Tailwind
colors: {
  custom: {
    50: '#6b8855',
    500: '#2d5911',
    950: '#000000',
  },
}
SCSS
$custom: #2d5911;
$custom-light: #6b8855;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5911",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 96.667,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.11153,
    "h": 136.1
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#2D5911
secondary
#6D3492
accent
#3DEBA7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5911

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

Preview Lab → · Contrast checker → · Palette generator →

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