#2B421F#2B421F

#2B421F is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.064 H 135.7°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2B421F
RGBrgb(43, 66, 31)
HSLhsl(99, 36%, 19%)
HSVhsv(99, 53%, 26%)
CMYKcmyk(34.8%, 0%, 53%, 74.1%)
CIE-LABlab(25.29, -16.65, 18.43)
CIE-LCHlch(25.29, 24.84, 132.09°)
OKLaboklab(35.02% -0.0458 0.0446)
OKLCHoklch(35.02% 0.064 135.7)
XYZxyz(3.1917, 4.5088, 1.9982)
Luminance0.0451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B421F #361F42
analogous
#3D421F #2B421F #1F4225
triadic
#2B421F #1F2B42 #421F2B
tetradic
#2B421F #1F3D42 #361F42 #42251F
square
#2B421F #1F3D42 #361F42 #42251F
split-complementary
#2B421F #251F42 #421F3D
monochromatic
#0E150A #10180B #2B421F #466C33 #619546

Accessibility & contrast

On white

11.04
#2B421F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B421F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B421F#FFFFFF#000000##FFFFFF
##2B421F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1C
Deuteranopia (green-blind)
#413B21
Tritanopia (blue-blind)
#2B403A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b421f;
/* rgb */ color: rgb(43, 66, 31);
/* oklch */ color: oklch(35.0% 0.064 135.7);
Tailwind
colors: {
  custom: {
    50: '#65765b',
    500: '#2b421f',
    950: '#000000',
  },
}
SCSS
$custom: #2b421f;
$custom-light: #65765b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b421f",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 31
  },
  "hsl": {
    "h": 99.429,
    "s": 36.082,
    "l": 19.02
  },
  "oklch": {
    "l": 0.35018,
    "c": 0.06391,
    "h": 135.7
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#2B421F
secondary
#664776
accent
#5CCCA6
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060804
muted
#7A7B79

Preview Lab

Preview with #2B421F

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

Preview Lab → · Contrast checker → · Palette generator →

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