#2D451D#2D451D

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

Color values

HEX#2D451D
RGBrgb(45, 69, 29)
HSLhsl(96, 41%, 19%)
HSVhsv(96, 58%, 27%)
CMYKcmyk(34.8%, 0%, 58%, 72.9%)
CIE-LABlab(26.46, -17.74, 21.07)
CIE-LCHlch(26.46, 27.54, 130.09°)
OKLaboklab(35.99% -0.049 0.0503)
OKLCHoklch(35.99% 0.07 134.3)
XYZxyz(3.4320, 4.9027, 1.9277)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D451D #351D45
analogous
#41451D #2D451D #1D4521
triadic
#2D451D #1D2D45 #451D2D
tetradic
#2D451D #1D4145 #351D45 #45211D
square
#2D451D #1D4145 #351D45 #45211D
split-complementary
#2D451D #211D45 #451D41
monochromatic
#0E1609 #111A0B #2D451D #49702F #659B41

Accessibility & contrast

On white

10.60
#2D451D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D451D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D451D#FFFFFF#000000##FFFFFF
##2D451D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#443E20
Tritanopia (blue-blind)
#2D423C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d451d;
/* rgb */ color: rgb(45, 69, 29);
/* oklch */ color: oklch(36.0% 0.070 134.3);
Tailwind
colors: {
  custom: {
    50: '#67795a',
    500: '#2d451d',
    950: '#000000',
  },
}
SCSS
$custom: #2d451d;
$custom-light: #67795a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d451d",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 29
  },
  "hsl": {
    "h": 96,
    "s": 40.816,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35991,
    "c": 0.07024,
    "h": 134.3
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#2D451D
secondary
#64447A
accent
#57D1A0
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2D451D

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

Preview Lab → · Contrast checker → · Palette generator →

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