#2D4C19#2D4C19

#2D4C19 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.086 H 135.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2D4C19
RGBrgb(45, 76, 25)
HSLhsl(96, 50%, 20%)
HSVhsv(96, 67%, 30%)
CMYKcmyk(40.8%, 0%, 67.1%, 70.2%)
CIE-LABlab(28.89, -21.91, 26.12)
CIE-LCHlch(28.89, 34.09, 130.00°)
OKLaboklab(37.96% -0.0608 0.0608)
OKLCHoklch(37.96% 0.086 135)
XYZxyz(3.8420, 5.7968, 1.8360)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C19 #38194C
analogous
#464C19 #2D4C19 #194C1F
triadic
#2D4C19 #192D4C #4C192D
tetradic
#2D4C19 #19464C #38194C #4C1F19
square
#2D4C19 #19464C #38194C #4C1F19
split-complementary
#2D4C19 #1F194C #4C1946
monochromatic
#0E1708 #121E0A #2D4C19 #487A28 #64A837

Accessibility & contrast

On white

9.72
#2D4C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4C19
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C19#FFFFFF#000000##FFFFFF
##2D4C191.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4613
Deuteranopia (green-blind)
#4B431D
Tritanopia (blue-blind)
#2C4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4c19;
/* rgb */ color: rgb(45, 76, 25);
/* oklch */ color: oklch(38.0% 0.086 135.0);
Tailwind
colors: {
  custom: {
    50: '#687e58',
    500: '#2d4c19',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c19;
$custom-light: #687e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c19",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 25
  },
  "hsl": {
    "h": 96.471,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.086,
    "h": 135
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#2D4C19
secondary
#683E82
accent
#4EDAA3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4C19

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

Preview Lab → · Contrast checker → · Palette generator →

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