#2B401C#2B401C

#2B401C is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.064 H 133.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2B401C
RGBrgb(43, 64, 28)
HSLhsl(95, 39%, 18%)
HSVhsv(95, 56%, 25%)
CMYKcmyk(32.8%, 0%, 56.2%, 74.9%)
CIE-LABlab(24.53, -15.98, 19.29)
CIE-LCHlch(24.53, 25.05, 129.64°)
OKLaboklab(34.39% -0.0441 0.0463)
OKLCHoklch(34.39% 0.064 133.6)
XYZxyz(3.0392, 4.2641, 1.7613)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B401C #311C40
analogous
#3D401C #2B401C #1C401F
triadic
#2B401C #1C2B40 #401C2B
tetradic
#2B401C #1C3D40 #311C40 #401F1C
square
#2B401C #1C3D40 #311C40 #401F1C
split-complementary
#2B401C #1F1C40 #401C3D
monochromatic
#0E1509 #0E1509 #2B401C #486B2F #649541

Accessibility & contrast

On white

11.33
#2B401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B401C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B401C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B401C#FFFFFF#000000##FFFFFF
##2B401C1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B19
Deuteranopia (green-blind)
#3F3A1E
Tritanopia (blue-blind)
#2B3E38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b401c;
/* rgb */ color: rgb(43, 64, 28);
/* oklch */ color: oklch(34.4% 0.064 133.6);
Tailwind
colors: {
  custom: {
    50: '#657559',
    500: '#2b401c',
    950: '#000000',
  },
}
SCSS
$custom: #2b401c;
$custom-light: #657559;
$custom-dark: #000000;
JSON
{
  "hex": "#2b401c",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 95,
    "s": 39.13,
    "l": 18.039
  },
  "oklch": {
    "l": 0.34386,
    "c": 0.06398,
    "h": 133.6
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#2B401C
secondary
#604375
accent
#59CF9E
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2B401C

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

Preview Lab → · Contrast checker → · Palette generator →

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