#2B451F#2B451F

#2B451F is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.9% C 0.069 H 136.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2B451F
RGBrgb(43, 69, 31)
HSLhsl(101, 38%, 20%)
HSVhsv(101, 55%, 27%)
CMYKcmyk(37.7%, 0%, 55.1%, 72.9%)
CIE-LABlab(26.36, -18.29, 19.75)
CIE-LCHlch(26.36, 26.92, 132.79°)
OKLaboklab(35.89% -0.0503 0.0476)
OKLCHoklch(35.89% 0.069 136.6)
XYZxyz(3.3716, 4.8686, 2.0581)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B451F #391F45
analogous
#3E451F #2B451F #1F4526
triadic
#2B451F #1F2B45 #451F2B
tetradic
#2B451F #1F3E45 #391F45 #45261F
square
#2B451F #1F3E45 #391F45 #45261F
split-complementary
#2B451F #261F45 #451F3E
monochromatic
#0D1509 #111B0C #2B451F #456F32 #609945

Accessibility & contrast

On white

10.64
#2B451F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2B451F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B451F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B451F#FFFFFF#000000##FFFFFF
##2B451F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b451f;
/* rgb */ color: rgb(43, 69, 31);
/* oklch */ color: oklch(35.9% 0.069 136.6);
Tailwind
colors: {
  custom: {
    50: '#66795b',
    500: '#2b451f',
    950: '#000000',
  },
}
SCSS
$custom: #2b451f;
$custom-light: #66795b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b451f",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 31
  },
  "hsl": {
    "h": 101.053,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.35887,
    "c": 0.06921,
    "h": 136.6
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#2B451F
secondary
#694679
accent
#5ACEA9
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060904
muted
#7A7B79

Preview Lab

Preview with #2B451F

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

Preview Lab → · Contrast checker → · Palette generator →

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