#2D471B#2D471B

#2D471B is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.5% C 0.076 H 134.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2D471B
RGBrgb(45, 71, 27)
HSLhsl(95, 45%, 19%)
HSVhsv(95, 62%, 28%)
CMYKcmyk(36.6%, 0%, 62%, 72.2%)
CIE-LABlab(27.14, -19.08, 23.02)
CIE-LCHlch(27.14, 29.90, 129.64°)
OKLaboklab(36.54% -0.0529 0.0544)
OKLCHoklch(36.54% 0.076 134.2)
XYZxyz(3.5332, 5.1434, 1.8433)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D471B #351B47
analogous
#43471B #2D471B #1B471F
triadic
#2D471B #1B2D47 #471B2D
tetradic
#2D471B #1B4347 #351B47 #471F1B
square
#2D471B #1B4347 #351B47 #471F1B
split-complementary
#2D471B #1F1B47 #471B43
monochromatic
#0E1608 #111B0A #2D471B #49732C #65A03D

Accessibility & contrast

On white

10.35
#2D471B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2D471B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D471B
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D471B#FFFFFF#000000##FFFFFF
##2D471B1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4117
Deuteranopia (green-blind)
#463F1E
Tritanopia (blue-blind)
#2D443D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d471b;
/* rgb */ color: rgb(45, 71, 27);
/* oklch */ color: oklch(36.5% 0.076 134.2);
Tailwind
colors: {
  custom: {
    50: '#687a59',
    500: '#2d471b',
    950: '#000000',
  },
}
SCSS
$custom: #2d471b;
$custom-light: #687a59;
$custom-dark: #000000;
JSON
{
  "hex": "#2d471b",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 27
  },
  "hsl": {
    "h": 95.455,
    "s": 44.898,
    "l": 19.216
  },
  "oklch": {
    "l": 0.36538,
    "c": 0.07584,
    "h": 134.2
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#2D471B
secondary
#64417D
accent
#53D5A0
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D471B

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

Preview Lab → · Contrast checker → · Palette generator →

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