#2D4E15#2D4E15

#2D4E15 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.093 H 134.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#2D4E15
RGBrgb(45, 78, 21)
HSLhsl(95, 58%, 19%)
HSVhsv(95, 73%, 31%)
CMYKcmyk(42.3%, 0%, 73.1%, 69.4%)
CIE-LABlab(29.56, -23.33, 28.85)
CIE-LCHlch(29.56, 37.11, 128.96°)
OKLaboklab(38.49% -0.0651 0.066)
OKLCHoklch(38.49% 0.093 134.6)
XYZxyz(3.9419, 6.0606, 1.6714)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E15 #36154E
analogous
#4A4E15 #2D4E15 #154E1A
triadic
#2D4E15 #152D4E #4E152D
tetradic
#2D4E15 #154A4E #36154E #4E1A15
square
#2D4E15 #154A4E #36154E #4E1A15
split-complementary
#2D4E15 #1A154E #4E154A
monochromatic
#0E1806 #111E08 #2D4E15 #497E22 #65AE2F

Accessibility & contrast

On white

9.49
#2D4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D4E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E15
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E15#FFFFFF#000000##FFFFFF
##2D4E151.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470D
Deuteranopia (green-blind)
#4D451A
Tritanopia (blue-blind)
#2D4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e15;
/* rgb */ color: rgb(45, 78, 21);
/* oklch */ color: oklch(38.5% 0.093 134.6);
Tailwind
colors: {
  custom: {
    50: '#698056',
    500: '#2d4e15',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e15;
$custom-light: #698056;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e15",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 94.737,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38494,
    "c": 0.0927,
    "h": 134.6
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

primary
#2D4E15
secondary
#653986
accent
#47E1A0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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