#2D4617#2D4617

#2D4617 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.078 H 132.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2D4617
RGBrgb(45, 70, 23)
HSLhsl(92, 51%, 18%)
HSVhsv(92, 67%, 27%)
CMYKcmyk(35.7%, 0%, 67.1%, 72.5%)
CIE-LABlab(26.73, -19.02, 24.74)
CIE-LCHlch(26.73, 31.21, 127.55°)
OKLaboklab(36.19% -0.0531 0.0576)
OKLCHoklch(36.19% 0.078 132.7)
XYZxyz(3.4269, 4.9999, 1.5950)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4617 #301746
analogous
#444617 #2D4617 #174618
triadic
#2D4617 #172D46 #46172D
tetradic
#2D4617 #174446 #301746 #461817
square
#2D4617 #174446 #301746 #461817
split-complementary
#2D4617 #181746 #461744
monochromatic
#0F1708 #0F1808 #2D4617 #4B7426 #68A235

Accessibility & contrast

On white

10.50
#2D4617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D4617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4617
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4617#FFFFFF#000000##FFFFFF
##2D46171.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494012
Deuteranopia (green-blind)
#463F1A
Tritanopia (blue-blind)
#2D433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d4617;
/* rgb */ color: rgb(45, 70, 23);
/* oklch */ color: oklch(36.2% 0.078 132.7);
Tailwind
colors: {
  custom: {
    50: '#687956',
    500: '#2d4617',
    950: '#000000',
  },
}
SCSS
$custom: #2d4617;
$custom-light: #687956;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4617",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 23
  },
  "hsl": {
    "h": 91.915,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36193,
    "c": 0.07834,
    "h": 132.7
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#2D4617
secondary
#5E3C7D
accent
#4EDA98
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4617

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

Preview Lab → · Contrast checker → · Palette generator →

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