#2D4916#2D4916

#2D4916 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.084 H 133.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2D4916
RGBrgb(45, 73, 22)
HSLhsl(93, 54%, 19%)
HSVhsv(93, 70%, 29%)
CMYKcmyk(38.4%, 0%, 69.9%, 71.4%)
CIE-LABlab(27.79, -20.70, 26.44)
CIE-LCHlch(27.79, 33.58, 128.05°)
OKLaboklab(37.05% -0.0578 0.0611)
OKLCHoklch(37.05% 0.084 133.4)
XYZxyz(3.6095, 5.3808, 1.6073)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4916 #321649
analogous
#464916 #2D4916 #164918
triadic
#2D4916 #162D49 #49162D
tetradic
#2D4916 #164649 #321649 #491816
square
#2D4916 #164649 #321649 #491816
split-complementary
#2D4916 #181649 #491646
monochromatic
#0E1807 #101A08 #2D4916 #4A7824 #67A732

Accessibility & contrast

On white

10.11
#2D4916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D4916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4916
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4916#FFFFFF#000000##FFFFFF
##2D49161.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4310
Deuteranopia (green-blind)
#48411A
Tritanopia (blue-blind)
#2D463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4916;
/* rgb */ color: rgb(45, 73, 22);
/* oklch */ color: oklch(37.1% 0.084 133.4);
Tailwind
colors: {
  custom: {
    50: '#687c56',
    500: '#2d4916',
    950: '#000000',
  },
}
SCSS
$custom: #2d4916;
$custom-light: #687c56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4916",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 92.941,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37051,
    "c": 0.08409,
    "h": 133.4
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#2D4916
secondary
#613A80
accent
#4BDD9B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4916

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

Preview Lab → · Contrast checker → · Palette generator →

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