#2D451B#2D451B

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

Color values

HEX#2D451B
RGBrgb(45, 69, 27)
HSLhsl(94, 44%, 19%)
HSVhsv(94, 61%, 27%)
CMYKcmyk(34.8%, 0%, 60.9%, 72.9%)
CIE-LABlab(26.43, -18.00, 22.19)
CIE-LCHlch(26.43, 28.57, 129.05°)
OKLaboklab(35.96% -0.0499 0.0526)
OKLCHoklch(35.96% 0.072 133.5)
XYZxyz(3.4081, 4.8931, 1.8016)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D451B #331B45
analogous
#42451B #2D451B #1B451E
triadic
#2D451B #1B2D45 #451B2D
tetradic
#2D451B #1B4245 #331B45 #451E1B
square
#2D451B #1B4245 #331B45 #451E1B
split-complementary
#2D451B #1E1B45 #451B42
monochromatic
#0E1609 #10190A #2D451B #4A712C #669D3D

Accessibility & contrast

On white

10.61
#2D451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D451B
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D451B#FFFFFF#000000##FFFFFF
##2D451B1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484017
Deuteranopia (green-blind)
#443E1E
Tritanopia (blue-blind)
#2D423C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d451b;
/* rgb */ color: rgb(45, 69, 27);
/* oklch */ color: oklch(36.0% 0.072 133.5);
Tailwind
colors: {
  custom: {
    50: '#677959',
    500: '#2d451b',
    950: '#000000',
  },
}
SCSS
$custom: #2d451b;
$custom-light: #677959;
$custom-dark: #000000;
JSON
{
  "hex": "#2d451b",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 94.286,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3596,
    "c": 0.07249,
    "h": 133.5
  },
  "luminance": 0.04893
}

Semantic roles & 50–950 ramp

primary
#2D451B
secondary
#62417B
accent
#54D39D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D451B

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

Preview Lab → · Contrast checker → · Palette generator →

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