#2D4A15#2D4A15

#2D4A15 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.087 H 133.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2D4A15
RGBrgb(45, 74, 21)
HSLhsl(93, 56%, 19%)
HSVhsv(93, 72%, 29%)
CMYKcmyk(39.2%, 0%, 71.6%, 71%)
CIE-LABlab(28.14, -21.32, 27.32)
CIE-LCHlch(28.14, 34.66, 127.96°)
OKLaboklab(37.33% -0.0596 0.0628)
OKLCHoklch(37.33% 0.087 133.5)
XYZxyz(3.6663, 5.5094, 1.5796)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A15 #32154A
analogous
#474A15 #2D4A15 #154A17
triadic
#2D4A15 #152D4A #4A152D
tetradic
#2D4A15 #15474A #32154A #4A1715
square
#2D4A15 #15474A #32154A #4A1715
split-complementary
#2D4A15 #17154A #4A1547
monochromatic
#0E1807 #101A07 #2D4A15 #4A7A23 #67A930

Accessibility & contrast

On white

9.99
#2D4A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D4A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A15
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A15#FFFFFF#000000##FFFFFF
##2D4A151.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440E
Deuteranopia (green-blind)
#494219
Tritanopia (blue-blind)
#2D473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4a15;
/* rgb */ color: rgb(45, 74, 21);
/* oklch */ color: oklch(37.3% 0.087 133.5);
Tailwind
colors: {
  custom: {
    50: '#687c55',
    500: '#2d4a15',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a15;
$custom-light: #687c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a15",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 92.83,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3733,
    "c": 0.08657,
    "h": 133.5
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#2D4A15
secondary
#613982
accent
#49DF9B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4A15

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

Preview Lab → · Contrast checker → · Palette generator →

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