#2D4F15#2D4F15

#2D4F15 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.094 H 134.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2D4F15
RGBrgb(45, 79, 21)
HSLhsl(95, 58%, 20%)
HSVhsv(95, 73%, 31%)
CMYKcmyk(43%, 0%, 73.4%, 69%)
CIE-LABlab(29.92, -23.82, 29.23)
CIE-LCHlch(29.92, 37.71, 129.18°)
OKLaboklab(38.78% -0.0664 0.0668)
OKLCHoklch(38.78% 0.094 134.8)
XYZxyz(4.0134, 6.2038, 1.6953)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F15 #37154F
analogous
#4A4F15 #2D4F15 #154F1A
triadic
#2D4F15 #152D4F #4F152D
tetradic
#2D4F15 #154A4F #37154F #4F1A15
square
#2D4F15 #154A4F #37154F #4F1A15
split-complementary
#2D4F15 #1A154F #4F154A
monochromatic
#0E1806 #111F08 #2D4F15 #497F22 #64B02F

Accessibility & contrast

On white

9.37
#2D4F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D4F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F15
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F15#FFFFFF#000000##FFFFFF
##2D4F151.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#4E451A
Tritanopia (blue-blind)
#2C4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4f15;
/* rgb */ color: rgb(45, 79, 21);
/* oklch */ color: oklch(38.8% 0.094 134.8);
Tailwind
colors: {
  custom: {
    50: '#698056',
    500: '#2d4f15',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f15;
$custom-light: #698056;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f15",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 21
  },
  "hsl": {
    "h": 95.172,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38785,
    "c": 0.09422,
    "h": 134.8
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#2D4F15
secondary
#673987
accent
#47E1A1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4F15

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

Preview Lab → · Contrast checker → · Palette generator →

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