#2D431F#2D431F

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

Color values

HEX#2D431F
RGBrgb(45, 67, 31)
HSLhsl(97, 37%, 19%)
HSVhsv(97, 54%, 26%)
CMYKcmyk(32.8%, 0%, 53.7%, 73.7%)
CIE-LABlab(25.78, -16.35, 19.07)
CIE-LCHlch(25.78, 25.12, 130.62°)
OKLaboklab(35.45% -0.0451 0.046)
OKLCHoklch(35.45% 0.064 134.4)
XYZxyz(3.3366, 4.6710, 2.0219)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D431F #351F43
analogous
#3F431F #2D431F #1F4323
triadic
#2D431F #1F2D43 #431F2D
tetradic
#2D431F #1F3F43 #351F43 #43231F
square
#2D431F #1F3F43 #351F43 #43231F
split-complementary
#2D431F #231F43 #431F3F
monochromatic
#0E150A #11190C #2D431F #496D32 #659746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D431F#FFFFFF#000000##FFFFFF
##2D431F1.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)
#453E1C
Deuteranopia (green-blind)
#423C21
Tritanopia (blue-blind)
#2D413B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d431f;
/* rgb */ color: rgb(45, 67, 31);
/* oklch */ color: oklch(35.4% 0.064 134.4);
Tailwind
colors: {
  custom: {
    50: '#67775b',
    500: '#2d431f',
    950: '#000000',
  },
}
SCSS
$custom: #2d431f;
$custom-light: #67775b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d431f",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 31
  },
  "hsl": {
    "h": 96.667,
    "s": 36.735,
    "l": 19.216
  },
  "oklch": {
    "l": 0.3545,
    "c": 0.0644,
    "h": 134.4
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#2D431F
secondary
#644677
accent
#5BCDA1
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2D431F

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

Preview Lab → · Contrast checker → · Palette generator →

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