#2D4315#2D4315

#2D4315 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.075 H 130.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2D4315
RGBrgb(45, 67, 21)
HSLhsl(89, 52%, 17%)
HSVhsv(89, 69%, 26%)
CMYKcmyk(32.8%, 0%, 68.7%, 73.7%)
CIE-LABlab(25.64, -17.63, 24.58)
CIE-LCHlch(25.64, 30.25, 125.64°)
OKLaboklab(35.3% -0.0495 0.057)
OKLCHoklch(35.3% 0.075 130.9)
XYZxyz(3.2247, 4.6262, 1.4324)
Luminance0.0463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4315 #2B1543
analogous
#434215 #2D4315 #164315
triadic
#2D4315 #152D43 #43152D
tetradic
#2D4315 #154342 #2B1543 #431516
square
#2D4315 #154342 #2B1543 #431516
split-complementary
#2D4315 #151643 #421543
monochromatic
#101707 #101707 #2D4315 #4C7224 #6CA032

Accessibility & contrast

On white

10.91
#2D4315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D4315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4315
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4315#FFFFFF#000000##FFFFFF
##2D43151.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E10
Deuteranopia (green-blind)
#433C18
Tritanopia (blue-blind)
#2E4039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d4315;
/* rgb */ color: rgb(45, 67, 21);
/* oklch */ color: oklch(35.3% 0.075 130.9);
Tailwind
colors: {
  custom: {
    50: '#687754',
    500: '#2d4315',
    950: '#000000',
  },
}
SCSS
$custom: #2d4315;
$custom-light: #687754;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4315",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 21
  },
  "hsl": {
    "h": 88.696,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35298,
    "c": 0.07547,
    "h": 130.9
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#2D4315
secondary
#58397B
accent
#4CDC91
background
#F6F7F4
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D4315

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

Preview Lab → · Contrast checker → · Palette generator →

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