#2D4D14#2D4D14

#2D4D14 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.092 H 134.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2D4D14
RGBrgb(45, 77, 20)
HSLhsl(94, 59%, 19%)
HSVhsv(94, 74%, 30%)
CMYKcmyk(41.6%, 0%, 74%, 69.8%)
CIE-LABlab(29.20, -22.93, 28.94)
CIE-LCHlch(29.20, 36.92, 128.39°)
OKLaboklab(38.19% -0.064 0.0661)
OKLCHoklch(38.19% 0.092 134.1)
XYZxyz(3.8623, 5.9160, 1.6001)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D14 #34144D
analogous
#4A4D14 #2D4D14 #144D18
triadic
#2D4D14 #142D4D #4D142D
tetradic
#2D4D14 #144A4D #34144D #4D1814
square
#2D4D14 #144A4D #34144D #4D1814
split-complementary
#2D4D14 #18144D #4D144A
monochromatic
#0E1806 #111C07 #2D4D14 #497E21 #66AE2D

Accessibility & contrast

On white

9.62
#2D4D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2D4D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D14
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D14#FFFFFF#000000##FFFFFF
##2D4D141.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460C
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#2D4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4d14;
/* rgb */ color: rgb(45, 77, 20);
/* oklch */ color: oklch(38.2% 0.092 134.1);
Tailwind
colors: {
  custom: {
    50: '#697f55',
    500: '#2d4d14',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d14;
$custom-light: #697f55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d14",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 20
  },
  "hsl": {
    "h": 93.684,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38192,
    "c": 0.09202,
    "h": 134.1
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#2D4D14
secondary
#633885
accent
#46E29D
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4D14

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

Preview Lab → · Contrast checker → · Palette generator →

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