#2D4216#2D4216

#2D4216 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.073 H 130.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2D4216
RGBrgb(45, 66, 22)
HSLhsl(89, 50%, 17%)
HSVhsv(89, 67%, 26%)
CMYKcmyk(31.8%, 0%, 66.7%, 74.1%)
CIE-LABlab(25.30, -16.97, 23.66)
CIE-LCHlch(25.30, 29.12, 125.65°)
OKLaboklab(35.02% -0.0475 0.0552)
OKLCHoklch(35.02% 0.073 130.8)
XYZxyz(3.1752, 4.5122, 1.4625)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4216 #2B1642
analogous
#424116 #2D4216 #174216
triadic
#2D4216 #162D42 #42162D
tetradic
#2D4216 #164241 #2B1642 #421617
square
#2D4216 #164241 #2B1642 #421617
split-complementary
#2D4216 #161742 #411642
monochromatic
#101708 #101708 #2D4216 #4C7025 #6C9E35

Accessibility & contrast

On white

11.04
#2D4216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D4216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4216
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4216#FFFFFF#000000##FFFFFF
##2D42161.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D11
Deuteranopia (green-blind)
#423B19
Tritanopia (blue-blind)
#2E3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d4216;
/* rgb */ color: rgb(45, 66, 22);
/* oklch */ color: oklch(35.0% 0.073 130.8);
Tailwind
colors: {
  custom: {
    50: '#687655',
    500: '#2d4216',
    950: '#000000',
  },
}
SCSS
$custom: #2d4216;
$custom-light: #687655;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4216",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 22
  },
  "hsl": {
    "h": 88.636,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35021,
    "c": 0.07283,
    "h": 130.8
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#2D4216
secondary
#583A79
accent
#4EDA91
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D4216

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

Preview Lab → · Contrast checker → · Palette generator →

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