#2D4914#2D4914

#2D4914 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.086 H 132.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2D4914
RGBrgb(45, 73, 20)
HSLhsl(92, 57%, 18%)
HSVhsv(92, 73%, 29%)
CMYKcmyk(38.4%, 0%, 72.6%, 71.4%)
CIE-LABlab(27.77, -20.90, 27.42)
CIE-LCHlch(27.77, 34.48, 127.31°)
OKLaboklab(37.03% -0.0585 0.0629)
OKLCHoklch(37.03% 0.086 132.9)
XYZxyz(3.5909, 5.3733, 1.5096)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4914 #301449
analogous
#474914 #2D4914 #144915
triadic
#2D4914 #142D49 #49142D
tetradic
#2D4914 #144749 #301449 #491514
square
#2D4914 #144749 #301449 #491514
split-complementary
#2D4914 #151449 #491447
monochromatic
#0F1807 #0F1907 #2D4914 #4B7921 #68A92E

Accessibility & contrast

On white

10.12
#2D4914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D4914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4914
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4914#FFFFFF#000000##FFFFFF
##2D49141.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430D
Deuteranopia (green-blind)
#484118
Tritanopia (blue-blind)
#2D463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4914;
/* rgb */ color: rgb(45, 73, 20);
/* oklch */ color: oklch(37.0% 0.086 132.9);
Tailwind
colors: {
  custom: {
    50: '#687c54',
    500: '#2d4914',
    950: '#000000',
  },
}
SCSS
$custom: #2d4914;
$custom-light: #687c54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4914",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 20
  },
  "hsl": {
    "h": 91.698,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37028,
    "c": 0.0859,
    "h": 132.9
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#2D4914
secondary
#5E3881
accent
#48E098
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4914

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

Preview Lab → · Contrast checker → · Palette generator →

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