#2D4D19#2D4D19

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

Color values

HEX#2D4D19
RGBrgb(45, 77, 25)
HSLhsl(97, 51%, 20%)
HSVhsv(97, 68%, 30%)
CMYKcmyk(41.6%, 0%, 67.5%, 69.8%)
CIE-LABlab(29.25, -22.42, 26.52)
CIE-LCHlch(29.25, 34.72, 130.21°)
OKLaboklab(38.25% -0.0622 0.0616)
OKLCHoklch(38.25% 0.088 135.3)
XYZxyz(3.9114, 5.9356, 1.8591)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4D19 #39194D
analogous
#474D19 #2D4D19 #194D1F
triadic
#2D4D19 #192D4D #4D192D
tetradic
#2D4D19 #19474D #39194D #4D1F19
square
#2D4D19 #19474D #39194D #4D1F19
split-complementary
#2D4D19 #1F194D #4D1947
monochromatic
#0E1708 #121F0A #2D4D19 #487B28 #63A937

Accessibility & contrast

On white

9.60
#2D4D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2D4D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4D19
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4D19#FFFFFF#000000##FFFFFF
##2D4D191.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504713
Deuteranopia (green-blind)
#4B441D
Tritanopia (blue-blind)
#2C4A42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4d19;
/* rgb */ color: rgb(45, 77, 25);
/* oklch */ color: oklch(38.2% 0.088 135.3);
Tailwind
colors: {
  custom: {
    50: '#697f58',
    500: '#2d4d19',
    950: '#000000',
  },
}
SCSS
$custom: #2d4d19;
$custom-light: #697f58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4d19",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 25
  },
  "hsl": {
    "h": 96.923,
    "s": 50.98,
    "l": 20
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.08758,
    "h": 135.3
  },
  "luminance": 0.05936
}

Semantic roles & 50–950 ramp

primary
#2D4D19
secondary
#693E83
accent
#4DDAA4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4D19

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

Preview Lab → · Contrast checker → · Palette generator →

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