#2D431B#2D431B

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

Color values

HEX#2D431B
RGBrgb(45, 67, 27)
HSLhsl(93, 43%, 18%)
HSVhsv(93, 60%, 26%)
CMYKcmyk(32.8%, 0%, 59.7%, 73.7%)
CIE-LABlab(25.72, -16.91, 21.34)
CIE-LCHlch(25.72, 27.23, 128.39°)
OKLaboklab(35.38% -0.0469 0.0507)
OKLCHoklch(35.38% 0.069 132.8)
XYZxyz(3.2871, 4.6512, 1.7613)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D431B #311B43
analogous
#41431B #2D431B #1B431D
triadic
#2D431B #1B2D43 #431B2D
tetradic
#2D431B #1B4143 #311B43 #431D1B
square
#2D431B #1B4143 #311B43 #431D1B
split-complementary
#2D431B #1D1B43 #431B41
monochromatic
#0F1609 #101709 #2D431B #4A6F2D #689A3E

Accessibility & contrast

On white

10.88
#2D431B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D431B
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D431B#FFFFFF#000000##FFFFFF
##2D431B1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E17
Deuteranopia (green-blind)
#433C1E
Tritanopia (blue-blind)
#2D403A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d431b;
/* rgb */ color: rgb(45, 67, 27);
/* oklch */ color: oklch(35.4% 0.069 132.8);
Tailwind
colors: {
  custom: {
    50: '#677758',
    500: '#2d431b',
    950: '#000000',
  },
}
SCSS
$custom: #2d431b;
$custom-light: #677758;
$custom-dark: #000000;
JSON
{
  "hex": "#2d431b",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 27
  },
  "hsl": {
    "h": 93,
    "s": 42.553,
    "l": 18.431
  },
  "oklch": {
    "l": 0.35383,
    "c": 0.06909,
    "h": 132.8
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#2D431B
secondary
#604179
accent
#55D29A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D431B

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

Preview Lab → · Contrast checker → · Palette generator →

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