#2D5518#2D5518

#2D5518 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.6% C 0.101 H 136.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2D5518
RGBrgb(45, 85, 24)
HSLhsl(99, 56%, 21%)
HSVhsv(99, 72%, 33%)
CMYKcmyk(47.1%, 0%, 71.8%, 66.7%)
CIE-LABlab(32.08, -26.42, 30.11)
CIE-LCHlch(32.08, 40.06, 131.26°)
OKLaboklab(40.56% -0.0732 0.0691)
OKLCHoklch(40.56% 0.101 136.6)
XYZxyz(4.4954, 7.1206, 2.0015)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5518 #401855
analogous
#4C5518 #2D5518 #185522
triadic
#2D5518 #182D55 #55182D
tetradic
#2D5518 #184C55 #401855 #552218
square
#2D5518 #184C55 #401855 #552218
split-complementary
#2D5518 #221855 #55184C
monochromatic
#0D1807 #14250B #2D5518 #468525 #60B433

Accessibility & contrast

On white

8.66
#2D5518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2D5518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5518
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5518#FFFFFF#000000##FFFFFF
##2D55181.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E10
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#2B5248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d5518;
/* rgb */ color: rgb(45, 85, 24);
/* oklch */ color: oklch(40.6% 0.101 136.6);
Tailwind
colors: {
  custom: {
    50: '#6a8558',
    500: '#2d5518',
    950: '#000000',
  },
}
SCSS
$custom: #2d5518;
$custom-light: #6a8558;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5518",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 99.344,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.4056,
    "c": 0.10068,
    "h": 136.6
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#2D5518
secondary
#713D8C
accent
#49DFAB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5518

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

Preview Lab → · Contrast checker → · Palette generator →

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