#2D451F#2D451F

#2D451F is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.068 H 135.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2D451F
RGBrgb(45, 69, 31)
HSLhsl(98, 38%, 20%)
HSVhsv(98, 55%, 27%)
CMYKcmyk(34.8%, 0%, 55.1%, 72.9%)
CIE-LABlab(26.49, -17.45, 19.94)
CIE-LCHlch(26.49, 26.50, 131.20°)
OKLaboklab(36.03% -0.0481 0.048)
OKLCHoklch(36.03% 0.068 135.1)
XYZxyz(3.4576, 4.9129, 2.0622)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D451F #371F45
analogous
#40451F #2D451F #1F4524
triadic
#2D451F #1F2D45 #451F2D
tetradic
#2D451F #1F4045 #371F45 #45241F
square
#2D451F #1F4045 #371F45 #45241F
split-complementary
#2D451F #241F45 #451F40
monochromatic
#0E1509 #111B0C #2D451F #496F32 #649945

Accessibility & contrast

On white

10.59
#2D451F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D451F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D451F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D451F#FFFFFF#000000##FFFFFF
##2D451F1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401C
Deuteranopia (green-blind)
#443E21
Tritanopia (blue-blind)
#2D433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d451f;
/* rgb */ color: rgb(45, 69, 31);
/* oklch */ color: oklch(36.0% 0.068 135.1);
Tailwind
colors: {
  custom: {
    50: '#67795b',
    500: '#2d451f',
    950: '#000000',
  },
}
SCSS
$custom: #2d451f;
$custom-light: #67795b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d451f",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 97.895,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.36025,
    "c": 0.06792,
    "h": 135.1
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#2D451F
secondary
#674679
accent
#5ACEA3
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2D451F

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

Preview Lab → · Contrast checker → · Palette generator →

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