#2D3E17#2D3E17

#2D3E17 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.065 H 129.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2D3E17
RGBrgb(45, 62, 23)
HSLhsl(86, 46%, 17%)
HSVhsv(86, 63%, 24%)
CMYKcmyk(27.4%, 0%, 62.9%, 75.7%)
CIE-LABlab(23.88, -14.62, 21.48)
CIE-LCHlch(23.88, 25.98, 124.24°)
OKLaboklab(33.88% -0.0409 0.0506)
OKLCHoklch(33.88% 0.065 129)
XYZxyz(2.9594, 4.0649, 1.4391)
Luminance0.0406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E17 #28173E
analogous
#3E3C17 #2D3E17 #1A3E17
triadic
#2D3E17 #172D3E #3E172D
tetradic
#2D3E17 #173E3C #28173E #3E171A
square
#2D3E17 #173E3C #28173E #3E171A
split-complementary
#2D3E17 #171A3E #3C173E
monochromatic
#101608 #101608 #2D3E17 #4D6B28 #6E9738

Accessibility & contrast

On white

11.58
#2D3E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D3E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E17
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E17#FFFFFF#000000##FFFFFF
##2D3E171.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A13
Deuteranopia (green-blind)
#3F381A
Tritanopia (blue-blind)
#2E3B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3e17;
/* rgb */ color: rgb(45, 62, 23);
/* oklch */ color: oklch(33.9% 0.065 129.0);
Tailwind
colors: {
  custom: {
    50: '#677355',
    500: '#2d3e17',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e17;
$custom-light: #677355;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e17",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 23
  },
  "hsl": {
    "h": 86.154,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.06508,
    "h": 129
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#2D3E17
secondary
#553C75
accent
#52D68B
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D3E17

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

Preview Lab → · Contrast checker → · Palette generator →

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