#2D4D16#2D4D16

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

Color values

HEX#2D4D16
RGBrgb(45, 77, 22)
HSLhsl(95, 56%, 19%)
HSVhsv(95, 71%, 30%)
CMYKcmyk(41.6%, 0%, 71.4%, 69.8%)
CIE-LABlab(29.22, -22.73, 28.00)
CIE-LCHlch(29.22, 36.07, 129.08°)
OKLaboklab(38.21% -0.0633 0.0644)
OKLCHoklch(38.21% 0.09 134.5)
XYZxyz(3.8808, 5.9234, 1.6977)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D16 #36164D
analogous
#494D16 #2D4D16 #164D1B
triadic
#2D4D16 #162D4D #4D162D
tetradic
#2D4D16 #16494D #36164D #4D1B16
square
#2D4D16 #16494D #36164D #4D1B16
split-complementary
#2D4D16 #1B164D #4D1649
monochromatic
#0E1807 #111D08 #2D4D16 #497D24 #65AC31

Accessibility & contrast

On white

9.61
#2D4D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4D16
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D16#FFFFFF#000000##FFFFFF
##2D4D161.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470F
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#2D4A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4d16;
/* rgb */ color: rgb(45, 77, 22);
/* oklch */ color: oklch(38.2% 0.090 134.5);
Tailwind
colors: {
  custom: {
    50: '#697f56',
    500: '#2d4d16',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d16;
$custom-light: #697f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d16",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 94.909,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38214,
    "c": 0.09032,
    "h": 134.5
  },
  "luminance": 0.05924
}

Semantic roles & 50–950 ramp

primary
#2D4D16
secondary
#653A85
accent
#49DFA0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4D16

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

Preview Lab → · Contrast checker → · Palette generator →

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