#2D431E#2D431E

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

Color values

HEX#2D431E
RGBrgb(45, 67, 30)
HSLhsl(96, 38%, 19%)
HSVhsv(96, 55%, 26%)
CMYKcmyk(32.8%, 0%, 55.2%, 73.7%)
CIE-LABlab(25.76, -16.50, 19.64)
CIE-LCHlch(25.76, 25.65, 130.03°)
OKLaboklab(35.43% -0.0455 0.0472)
OKLCHoklch(35.43% 0.066 134)
XYZxyz(3.3236, 4.6658, 1.9535)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D431E #341E43
analogous
#40431E #2D431E #1E4322
triadic
#2D431E #1E2D43 #431E2D
tetradic
#2D431E #1E4043 #341E43 #43221E
square
#2D431E #1E4043 #341E43 #43221E
split-complementary
#2D431E #221E43 #431E40
monochromatic
#0E1509 #11190B #2D431E #496D31 #669844

Accessibility & contrast

On white

10.86
#2D431E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D431E
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D431E#FFFFFF#000000##FFFFFF
##2D431E1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1B
Deuteranopia (green-blind)
#423C20
Tritanopia (blue-blind)
#2D413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d431e;
/* rgb */ color: rgb(45, 67, 30);
/* oklch */ color: oklch(35.4% 0.066 134.0);
Tailwind
colors: {
  custom: {
    50: '#67775a',
    500: '#2d431e',
    950: '#000000',
  },
}
SCSS
$custom: #2d431e;
$custom-light: #67775a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d431e",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 30
  },
  "hsl": {
    "h": 95.676,
    "s": 38.144,
    "l": 19.02
  },
  "oklch": {
    "l": 0.35432,
    "c": 0.0656,
    "h": 134
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#2D431E
secondary
#634578
accent
#5ACE9F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2D431E

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

Preview Lab → · Contrast checker → · Palette generator →

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