#2D431D#2D431D

#2D431D is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.067 H 133.5°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2D431D
RGBrgb(45, 67, 29)
HSLhsl(95, 40%, 19%)
HSVhsv(95, 57%, 26%)
CMYKcmyk(32.8%, 0%, 56.7%, 73.7%)
CIE-LABlab(25.75, -16.64, 20.22)
CIE-LCHlch(25.75, 26.18, 129.46°)
OKLaboklab(35.42% -0.046 0.0484)
OKLCHoklch(35.42% 0.067 133.5)
XYZxyz(3.3111, 4.6608, 1.8873)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D431D #331D43
analogous
#40431D #2D431D #1D4320
triadic
#2D431D #1D2D43 #431D2D
tetradic
#2D431D #1D4043 #331D43 #43201D
square
#2D431D #1D4043 #331D43 #43201D
split-complementary
#2D431D #201D43 #431D40
monochromatic
#0E1509 #10180B #2D431D #4A6E2F #669842

Accessibility & contrast

On white

10.87
#2D431D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D431D
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D431D#FFFFFF#000000##FFFFFF
##2D431D1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1A
Deuteranopia (green-blind)
#423C1F
Tritanopia (blue-blind)
#2D403A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d431d;
/* rgb */ color: rgb(45, 67, 29);
/* oklch */ color: oklch(35.4% 0.067 133.5);
Tailwind
colors: {
  custom: {
    50: '#67775a',
    500: '#2d431d',
    950: '#000000',
  },
}
SCSS
$custom: #2d431d;
$custom-light: #67775a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d431d",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 29
  },
  "hsl": {
    "h": 94.737,
    "s": 39.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35415,
    "c": 0.06679,
    "h": 133.5
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

primary
#2D431D
secondary
#624478
accent
#58CF9D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2D431D

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

Preview Lab → · Contrast checker → · Palette generator →

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