#2B281E#2B281E

#2B281E is a dark, near-neutral yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.018 H 93.3°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#2B281E
RGBrgb(43, 40, 30)
HSLhsl(46, 18%, 14%)
HSVhsv(46, 30%, 17%)
CMYKcmyk(0%, 7%, 30.2%, 83.1%)
CIE-LABlab(16.13, -0.70, 7.10)
CIE-LCHlch(16.13, 7.13, 95.61°)
OKLaboklab(27.68% -0.001 0.0181)
OKLCHoklch(27.68% 0.018 93.3)
XYZxyz(1.9894, 2.1250, 1.5334)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B281E #1E212B
analogous
#2B221E #2B281E #282B1E
triadic
#2B281E #1E2B28 #281E2B
tetradic
#2B281E #1E2B22 #1E212B #2B1E28
square
#2B281E #1E2B22 #1E212B #2B1E28
split-complementary
#2B281E #1E282B #221E2B
monochromatic
#12110D #12110D #2B281E #4F4A37 #736B50

Accessibility & contrast

On white

14.74
#2B281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2B281E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B281E
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B281E#FFFFFF#000000##FFFFFF
##2B281E1.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271D
Deuteranopia (green-blind)
#2B281E
Tritanopia (blue-blind)
#2D2625
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b281e;
/* rgb */ color: rgb(43, 40, 30);
/* oklch */ color: oklch(27.7% 0.018 93.3);
Tailwind
colors: {
  custom: {
    50: '#646159',
    500: '#2b281e',
    950: '#000000',
  },
}
SCSS
$custom: #2b281e;
$custom-light: #646159;
$custom-dark: #000000;
JSON
{
  "hex": "#2b281e",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 46.154,
    "s": 17.808,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27675,
    "c": 0.01811,
    "h": 93.3
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#2B281E
secondary
#484D5D
accent
#7FBA6D
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#050503
muted
#7A7978

Preview Lab

Preview with #2B281E

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

Preview Lab → · Contrast checker → · Palette generator →

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