#2B421B#2B421B

#2B421B is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.069 H 134.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2B421B
RGBrgb(43, 66, 27)
HSLhsl(95, 42%, 18%)
HSVhsv(95, 59%, 26%)
CMYKcmyk(34.8%, 0%, 59.1%, 74.1%)
CIE-LABlab(25.23, -17.23, 20.73)
CIE-LCHlch(25.23, 26.95, 129.73°)
OKLaboklab(34.95% -0.0477 0.0494)
OKLCHoklch(34.95% 0.069 134)
XYZxyz(3.1422, 4.4890, 1.7376)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B421B #321B42
analogous
#3E421B #2B421B #1B421E
triadic
#2B421B #1B2B42 #421B2B
tetradic
#2B421B #1B3E42 #321B42 #421E1B
square
#2B421B #1B3E42 #321B42 #421E1B
split-complementary
#2B421B #1E1B42 #421B3E
monochromatic
#0E1609 #0F1709 #2B421B #476D2D #64993F

Accessibility & contrast

On white

11.07
#2B421B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B421B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B421B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B421B#FFFFFF#000000##FFFFFF
##2B421B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D17
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#2B3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b421b;
/* rgb */ color: rgb(43, 66, 27);
/* oklch */ color: oklch(34.9% 0.069 134.0);
Tailwind
colors: {
  custom: {
    50: '#667658',
    500: '#2b421b',
    950: '#000000',
  },
}
SCSS
$custom: #2b421b;
$custom-light: #667658;
$custom-dark: #000000;
JSON
{
  "hex": "#2b421b",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 27
  },
  "hsl": {
    "h": 95.385,
    "s": 41.935,
    "l": 18.235
  },
  "oklch": {
    "l": 0.34949,
    "c": 0.06863,
    "h": 134
  },
  "luminance": 0.04489
}

Semantic roles & 50–950 ramp

primary
#2B421B
secondary
#614178
accent
#56D29F
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B421B

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

Preview Lab → · Contrast checker → · Palette generator →

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