#2D4D11#2D4D11

#2D4D11 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.094 H 133.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#2D4D11
RGBrgb(45, 77, 17)
HSLhsl(92, 64%, 18%)
HSVhsv(92, 78%, 30%)
CMYKcmyk(41.6%, 0%, 77.9%, 69.8%)
CIE-LABlab(29.17, -23.19, 30.28)
CIE-LCHlch(29.17, 38.14, 127.44°)
OKLaboklab(38.16% -0.065 0.0684)
OKLCHoklch(38.16% 0.094 133.5)
XYZxyz(3.8372, 5.9059, 1.4680)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D11 #31114D
analogous
#4B4D11 #2D4D11 #114D13
triadic
#2D4D11 #112D4D #4D112D
tetradic
#2D4D11 #114B4D #31114D #4D1311
square
#2D4D11 #114B4D #31114D #4D1311
split-complementary
#2D4D11 #13114D #4D114B
monochromatic
#0F1906 #101B06 #2D4D11 #4A7F1C #68B127

Accessibility & contrast

On white

9.63
#2D4D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D4D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D11
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D11#FFFFFF#000000##FFFFFF
##2D4D111.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504607
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#2D4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4d11;
/* rgb */ color: rgb(45, 77, 17);
/* oklch */ color: oklch(38.2% 0.094 133.5);
Tailwind
colors: {
  custom: {
    50: '#697f53',
    500: '#2d4d11',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d11;
$custom-light: #697f53;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d11",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 92,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.09439,
    "h": 133.5
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#2D4D11
secondary
#603386
accent
#41E799
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4D11

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

Preview Lab → · Contrast checker → · Palette generator →

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