#2D431A#2D431A

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

Color values

HEX#2D431A
RGBrgb(45, 67, 26)
HSLhsl(92, 44%, 18%)
HSVhsv(92, 61%, 26%)
CMYKcmyk(32.8%, 0%, 61.2%, 73.7%)
CIE-LABlab(25.70, -17.04, 21.90)
CIE-LCHlch(25.70, 27.75, 127.89°)
OKLaboklab(35.37% -0.0474 0.0518)
OKLCHoklch(35.37% 0.07 132.4)
XYZxyz(3.2757, 4.6467, 1.7014)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D431A #301A43
analogous
#41431A #2D431A #1A431B
triadic
#2D431A #1A2D43 #431A2D
tetradic
#2D431A #1A4143 #301A43 #431B1A
square
#2D431A #1A4143 #301A43 #431B1A
split-complementary
#2D431A #1B1A43 #431A41
monochromatic
#0F1609 #0F1709 #2D431A #4B6F2B #689B3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D431A#FFFFFF#000000##FFFFFF
##2D431A1.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)
#463E16
Deuteranopia (green-blind)
#433C1D
Tritanopia (blue-blind)
#2E403A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d431a;
/* rgb */ color: rgb(45, 67, 26);
/* oklch */ color: oklch(35.4% 0.070 132.4);
Tailwind
colors: {
  custom: {
    50: '#677758',
    500: '#2d431a',
    950: '#000000',
  },
}
SCSS
$custom: #2d431a;
$custom-light: #677758;
$custom-dark: #000000;
JSON
{
  "hex": "#2d431a",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 26
  },
  "hsl": {
    "h": 92.195,
    "s": 44.086,
    "l": 18.235
  },
  "oklch": {
    "l": 0.35367,
    "c": 0.07022,
    "h": 132.4
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#2D431A
secondary
#5E4079
accent
#54D499
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D431A

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

Preview Lab → · Contrast checker → · Palette generator →

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