#2D4C15#2D4C15

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

Color values

HEX#2D4C15
RGBrgb(45, 76, 21)
HSLhsl(94, 57%, 19%)
HSVhsv(94, 72%, 30%)
CMYKcmyk(40.8%, 0%, 72.4%, 70.2%)
CIE-LABlab(28.85, -22.33, 28.09)
CIE-LCHlch(28.85, 35.89, 128.48°)
OKLaboklab(37.91% -0.0623 0.0644)
OKLCHoklch(37.91% 0.09 134.1)
XYZxyz(3.8019, 5.7807, 1.6248)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C15 #34154C
analogous
#494C15 #2D4C15 #154C19
triadic
#2D4C15 #152D4C #4C152D
tetradic
#2D4C15 #15494C #34154C #4C1915
square
#2D4C15 #15494C #34154C #4C1915
split-complementary
#2D4C15 #19154C #4C1549
monochromatic
#0E1807 #111C08 #2D4C15 #497C22 #66AC2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4C15#FFFFFF#000000##FFFFFF
##2D4C151.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)
#4F460E
Deuteranopia (green-blind)
#4B431A
Tritanopia (blue-blind)
#2D4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4c15;
/* rgb */ color: rgb(45, 76, 21);
/* oklch */ color: oklch(37.9% 0.090 134.1);
Tailwind
colors: {
  custom: {
    50: '#697e55',
    500: '#2d4c15',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c15;
$custom-light: #697e55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c15",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 21
  },
  "hsl": {
    "h": 93.818,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37912,
    "c": 0.08965,
    "h": 134.1
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#2D4C15
secondary
#633984
accent
#48E09E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4C15

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

Preview Lab → · Contrast checker → · Palette generator →

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