#2D4C13#2D4C13

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

Color values

HEX#2D4C13
RGBrgb(45, 76, 19)
HSLhsl(93, 60%, 19%)
HSVhsv(93, 75%, 30%)
CMYKcmyk(40.8%, 0%, 75%, 70.2%)
CIE-LABlab(28.83, -22.52, 29.03)
CIE-LCHlch(28.83, 36.74, 127.80°)
OKLaboklab(37.89% -0.063 0.0661)
OKLCHoklch(37.89% 0.091 133.6)
XYZxyz(3.7841, 5.7736, 1.5310)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C13 #32134C
analogous
#494C13 #2D4C13 #134C15
triadic
#2D4C13 #132D4C #4C132D
tetradic
#2D4C13 #13494C #32134C #4C1513
square
#2D4C13 #13494C #32134C #4C1513
split-complementary
#2D4C13 #15134C #4C1349
monochromatic
#0E1806 #101B07 #2D4C13 #4A7D1F #67AE2B

Accessibility & contrast

On white

9.75
#2D4C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D4C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C13
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C13#FFFFFF#000000##FFFFFF
##2D4C131.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4c13;
/* rgb */ color: rgb(45, 76, 19);
/* oklch */ color: oklch(37.9% 0.091 133.6);
Tailwind
colors: {
  custom: {
    50: '#697e54',
    500: '#2d4c13',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c13;
$custom-light: #697e54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c13",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 19
  },
  "hsl": {
    "h": 92.632,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37891,
    "c": 0.09133,
    "h": 133.6
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#2D4C13
secondary
#613685
accent
#45E39B
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4C13

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

Preview Lab → · Contrast checker → · Palette generator →

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