#2D4C14#2D4C14

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

Color values

HEX#2D4C14
RGBrgb(45, 76, 20)
HSLhsl(93, 58%, 19%)
HSVhsv(93, 74%, 30%)
CMYKcmyk(40.8%, 0%, 73.7%, 70.2%)
CIE-LABlab(28.84, -22.43, 28.57)
CIE-LCHlch(28.84, 36.32, 128.14°)
OKLaboklab(37.9% -0.0627 0.0653)
OKLCHoklch(37.9% 0.091 133.8)
XYZxyz(3.7928, 5.7771, 1.5769)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C14 #33144C
analogous
#494C14 #2D4C14 #144C17
triadic
#2D4C14 #142D4C #4C142D
tetradic
#2D4C14 #14494C #33144C #4C1714
square
#2D4C14 #14494C #33144C #4C1714
split-complementary
#2D4C14 #17144C #4C1449
monochromatic
#0E1806 #101C07 #2D4C14 #4A7C21 #66AD2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4C14#FFFFFF#000000##FFFFFF
##2D4C141.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)
#4F460C
Deuteranopia (green-blind)
#4B4319
Tritanopia (blue-blind)
#2D4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4c14;
/* rgb */ color: rgb(45, 76, 20);
/* oklch */ color: oklch(37.9% 0.091 133.8);
Tailwind
colors: {
  custom: {
    50: '#697e55',
    500: '#2d4c14',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c14;
$custom-light: #697e55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c14",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 20
  },
  "hsl": {
    "h": 93.214,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37901,
    "c": 0.09051,
    "h": 133.8
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#2D4C14
secondary
#623884
accent
#46E29C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4C14

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

Preview Lab → · Contrast checker → · Palette generator →

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