#2D431C#2D431C

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

Color values

HEX#2D431C
RGBrgb(45, 67, 28)
HSLhsl(94, 41%, 19%)
HSVhsv(94, 58%, 26%)
CMYKcmyk(32.8%, 0%, 58.2%, 73.7%)
CIE-LABlab(25.73, -16.78, 20.78)
CIE-LCHlch(25.73, 26.71, 128.91°)
OKLaboklab(35.4% -0.0465 0.0496)
OKLCHoklch(35.4% 0.068 133.2)
XYZxyz(3.2989, 4.6559, 1.8233)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D431C #321C43
analogous
#40431C #2D431C #1C431E
triadic
#2D431C #1C2D43 #431C2D
tetradic
#2D431C #1C4043 #321C43 #431E1C
square
#2D431C #1C4043 #321C43 #431E1C
split-complementary
#2D431C #1E1C43 #431C40
monochromatic
#0E1609 #10180A #2D431C #4A6E2E #679940

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D431C#FFFFFF#000000##FFFFFF
##2D431C1.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)
#463E18
Deuteranopia (green-blind)
#423C1F
Tritanopia (blue-blind)
#2D403A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d431c;
/* rgb */ color: rgb(45, 67, 28);
/* oklch */ color: oklch(35.4% 0.068 133.2);
Tailwind
colors: {
  custom: {
    50: '#677759',
    500: '#2d431c',
    950: '#000000',
  },
}
SCSS
$custom: #2d431c;
$custom-light: #677759;
$custom-dark: #000000;
JSON
{
  "hex": "#2d431c",
  "rgb": {
    "r": 45,
    "g": 67,
    "b": 28
  },
  "hsl": {
    "h": 93.846,
    "s": 41.053,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35399,
    "c": 0.06795,
    "h": 133.2
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#2D431C
secondary
#614378
accent
#57D19C
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D431C

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

Preview Lab → · Contrast checker → · Palette generator →

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