#2D5618#2D5618

#2D5618 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.102 H 136.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2D5618
RGBrgb(45, 86, 24)
HSLhsl(100, 56%, 22%)
HSVhsv(100, 72%, 34%)
CMYKcmyk(47.7%, 0%, 72.1%, 66.3%)
CIE-LABlab(32.43, -26.89, 30.49)
CIE-LCHlch(32.43, 40.66, 131.41°)
OKLaboklab(40.85% -0.0745 0.0699)
OKLCHoklch(40.85% 0.102 136.8)
XYZxyz(4.5747, 7.2791, 2.0279)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5618 #411856
analogous
#4C5618 #2D5618 #185622
triadic
#2D5618 #182D56 #56182D
tetradic
#2D5618 #184C56 #411856 #562218
square
#2D5618 #184C56 #411856 #562218
split-complementary
#2D5618 #221856 #56184C
monochromatic
#0D1807 #14260B #2D5618 #468625 #5FB633

Accessibility & contrast

On white

8.55
#2D5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2D5618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5618
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5618#FFFFFF#000000##FFFFFF
##2D56181.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E10
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#2B5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d5618;
/* rgb */ color: rgb(45, 86, 24);
/* oklch */ color: oklch(40.9% 0.102 136.8);
Tailwind
colors: {
  custom: {
    50: '#6a8658',
    500: '#2d5618',
    950: '#000000',
  },
}
SCSS
$custom: #2d5618;
$custom-light: #6a8658;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5618",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 99.677,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40851,
    "c": 0.10216,
    "h": 136.8
  },
  "luminance": 0.07279
}

Semantic roles & 50–950 ramp

primary
#2D5618
secondary
#723D8D
accent
#48E0AC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5618

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

Preview Lab → · Contrast checker → · Palette generator →

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