#2D4911#2D4911

#2D4911 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.088 H 132.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2D4911
RGBrgb(45, 73, 17)
HSLhsl(90, 62%, 18%)
HSVhsv(90, 77%, 29%)
CMYKcmyk(38.4%, 0%, 76.7%, 71.4%)
CIE-LABlab(27.75, -21.18, 28.82)
CIE-LCHlch(27.75, 35.76, 126.31°)
OKLaboklab(37% -0.0596 0.0654)
OKLCHoklch(37% 0.088 132.3)
XYZxyz(3.5659, 5.3633, 1.3775)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4911 #2D1149
analogous
#494911 #2D4911 #114911
triadic
#2D4911 #112D49 #49112D
tetradic
#2D4911 #114949 #2D1149 #491111
square
#2D4911 #114949 #2D1149 #491111
split-complementary
#2D4911 #111149 #491149
monochromatic
#0F1906 #0F1906 #2D4911 #4C7B1D #6AAC28

Accessibility & contrast

On white

10.13
#2D4911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D4911 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4911
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4911#FFFFFF#000000##FFFFFF
##2D49111.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4309
Deuteranopia (green-blind)
#484116
Tritanopia (blue-blind)
#2E463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d4911;
/* rgb */ color: rgb(45, 73, 17);
/* oklch */ color: oklch(37.0% 0.088 132.3);
Tailwind
colors: {
  custom: {
    50: '#697c53',
    500: '#2d4911',
    950: '#000000',
  },
}
SCSS
$custom: #2d4911;
$custom-light: #697c53;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4911",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 62.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36997,
    "c": 0.08842,
    "h": 132.3
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#2D4911
secondary
#5B3382
accent
#43E594
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4911

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

Preview Lab → · Contrast checker → · Palette generator →

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