#2D4919#2D4919

#2D4919 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.081 H 134.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2D4919
RGBrgb(45, 73, 25)
HSLhsl(95, 49%, 19%)
HSVhsv(95, 66%, 29%)
CMYKcmyk(38.4%, 0%, 65.8%, 71.4%)
CIE-LABlab(27.83, -20.37, 24.91)
CIE-LCHlch(27.83, 32.18, 129.27°)
OKLaboklab(37.09% -0.0566 0.0582)
OKLCHoklch(37.09% 0.081 134.2)
XYZxyz(3.6401, 5.3930, 1.7687)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4919 #351949
analogous
#454919 #2D4919 #19491D
triadic
#2D4919 #192D49 #49192D
tetradic
#2D4919 #194549 #351949 #491D19
square
#2D4919 #194549 #351949 #491D19
split-complementary
#2D4919 #1D1949 #491945
monochromatic
#0E1708 #111B09 #2D4919 #497729 #65A438

Accessibility & contrast

On white

10.10
#2D4919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D4919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4919
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4919#FFFFFF#000000##FFFFFF
##2D49191.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4314
Deuteranopia (green-blind)
#48411D
Tritanopia (blue-blind)
#2D463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4919;
/* rgb */ color: rgb(45, 73, 25);
/* oklch */ color: oklch(37.1% 0.081 134.2);
Tailwind
colors: {
  custom: {
    50: '#687c58',
    500: '#2d4919',
    950: '#000000',
  },
}
SCSS
$custom: #2d4919;
$custom-light: #687c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4919",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 25
  },
  "hsl": {
    "h": 95,
    "s": 48.98,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37089,
    "c": 0.0812,
    "h": 134.2
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#2D4919
secondary
#643E7F
accent
#4FD99F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4919

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

Preview Lab → · Contrast checker → · Palette generator →

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