#2B451C#2B451C

#2B451C is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.8% C 0.073 H 135.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2B451C
RGBrgb(43, 69, 28)
HSLhsl(98, 42%, 19%)
HSVhsv(98, 59%, 27%)
CMYKcmyk(37.7%, 0%, 59.4%, 72.9%)
CIE-LABlab(26.31, -18.71, 21.45)
CIE-LCHlch(26.31, 28.46, 131.10°)
OKLaboklab(35.84% -0.0517 0.0511)
OKLCHoklch(35.84% 0.073 135.4)
XYZxyz(3.3339, 4.8535, 1.8595)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B451C #361C45
analogous
#40451C #2B451C #1C4522
triadic
#2B451C #1C2B45 #451C2B
tetradic
#2B451C #1C4045 #361C45 #45221C
square
#2B451C #1C4045 #361C45 #45221C
split-complementary
#2B451C #221C45 #451C40
monochromatic
#0E1609 #10190A #2B451C #46712E #619C3F

Accessibility & contrast

On white

10.66
#2B451C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B451C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B451C#FFFFFF#000000##FFFFFF
##2B451C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484018
Deuteranopia (green-blind)
#443D1F
Tritanopia (blue-blind)
#2B423C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b451c;
/* rgb */ color: rgb(43, 69, 28);
/* oklch */ color: oklch(35.8% 0.073 135.4);
Tailwind
colors: {
  custom: {
    50: '#667959',
    500: '#2b451c',
    950: '#000000',
  },
}
SCSS
$custom: #2b451c;
$custom-light: #667959;
$custom-dark: #000000;
JSON
{
  "hex": "#2b451c",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 28
  },
  "hsl": {
    "h": 98.049,
    "s": 42.268,
    "l": 19.02
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.07264,
    "h": 135.4
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#2B451C
secondary
#66427A
accent
#56D2A5
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B451C

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

Preview Lab → · Contrast checker → · Palette generator →

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