#2D4C16#2D4C16

#2D4C16 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.089 H 134.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2D4C16
RGBrgb(45, 76, 22)
HSLhsl(94, 55%, 19%)
HSVhsv(94, 71%, 30%)
CMYKcmyk(40.8%, 0%, 71.1%, 70.2%)
CIE-LABlab(28.86, -22.23, 27.61)
CIE-LCHlch(28.86, 35.45, 128.84°)
OKLaboklab(37.92% -0.062 0.0636)
OKLCHoklch(37.92% 0.089 134.3)
XYZxyz(3.8114, 5.7845, 1.6746)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C16 #35164C
analogous
#484C16 #2D4C16 #164C1A
triadic
#2D4C16 #162D4C #4C162D
tetradic
#2D4C16 #16484C #35164C #4C1A16
square
#2D4C16 #16484C #35164C #4C1A16
split-complementary
#2D4C16 #1A164C #4C1648
monochromatic
#0E1807 #111D08 #2D4C16 #497B24 #65AB31

Accessibility & contrast

On white

9.74
#2D4C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D4C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C16
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C16#FFFFFF#000000##FFFFFF
##2D4C161.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F460F
Deuteranopia (green-blind)
#4B431A
Tritanopia (blue-blind)
#2D4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4c16;
/* rgb */ color: rgb(45, 76, 22);
/* oklch */ color: oklch(37.9% 0.089 134.3);
Tailwind
colors: {
  custom: {
    50: '#697e56',
    500: '#2d4c16',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c16;
$custom-light: #697e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c16",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 94.444,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37923,
    "c": 0.08878,
    "h": 134.3
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#2D4C16
secondary
#643A84
accent
#49DE9F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4C16

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

Preview Lab → · Contrast checker → · Palette generator →

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