#2B421A#2B421A

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

Color values

HEX#2B421A
RGBrgb(43, 66, 26)
HSLhsl(95, 43%, 18%)
HSVhsv(95, 61%, 26%)
CMYKcmyk(34.8%, 0%, 60.6%, 74.1%)
CIE-LABlab(25.21, -17.36, 21.29)
CIE-LCHlch(25.21, 27.47, 129.20°)
OKLaboklab(34.93% -0.0481 0.0505)
OKLCHoklch(34.93% 0.07 133.6)
XYZxyz(3.1309, 4.4845, 1.6777)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B421A #311A42
analogous
#3F421A #2B421A #1A421D
triadic
#2B421A #1A2B42 #421A2B
tetradic
#2B421A #1A3F42 #311A42 #421D1A
square
#2B421A #1A3F42 #311A42 #421D1A
split-complementary
#2B421A #1D1A42 #421A3F
monochromatic
#0E1609 #0E1609 #2B421A #486E2B #649A3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B421A#FFFFFF#000000##FFFFFF
##2B421A1.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)
#453D16
Deuteranopia (green-blind)
#413B1D
Tritanopia (blue-blind)
#2B3F39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b421a;
/* rgb */ color: rgb(43, 66, 26);
/* oklch */ color: oklch(34.9% 0.070 133.6);
Tailwind
colors: {
  custom: {
    50: '#667658',
    500: '#2b421a',
    950: '#000000',
  },
}
SCSS
$custom: #2b421a;
$custom-light: #667658;
$custom-dark: #000000;
JSON
{
  "hex": "#2b421a",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 26
  },
  "hsl": {
    "h": 94.5,
    "s": 43.478,
    "l": 18.039
  },
  "oklch": {
    "l": 0.34933,
    "c": 0.06976,
    "h": 133.6
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#2B421A
secondary
#604078
accent
#55D39D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B421A

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

Preview Lab → · Contrast checker → · Palette generator →

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