#2B290F#2B290F

#2B290F is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.042 H 104.8°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#2B290F
RGBrgb(43, 41, 15)
HSLhsl(56, 48%, 11%)
HSVhsv(56, 65%, 17%)
CMYKcmyk(0%, 4.7%, 65.1%, 83.1%)
CIE-LABlab(16.18, -3.57, 16.95)
CIE-LCHlch(16.18, 17.32, 101.91°)
OKLaboklab(27.61% -0.0107 0.0403)
OKLCHoklch(27.61% 0.042 104.8)
XYZxyz(1.8755, 2.1340, 0.7650)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B290F #0F112B
analogous
#2B1B0F #2B290F #1F2B0F
triadic
#2B290F #0F2B29 #290F2B
tetradic
#2B290F #0F2B1B #0F112B #2B0F1F
square
#2B290F #0F2B1B #0F112B #2B0F1F
split-complementary
#2B290F #0F1F2B #1B0F2B
monochromatic
#171608 #171608 #2B290F #58541F #86802F

Accessibility & contrast

On white

14.72
#2B290F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B290F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B290F#FFFFFF#000000##FFFFFF
##2B290F1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270D
Deuteranopia (green-blind)
#2E2910
Tritanopia (blue-blind)
#2E2623
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b290f;
/* rgb */ color: rgb(43, 41, 15);
/* oklch */ color: oklch(27.6% 0.042 104.8);
Tailwind
colors: {
  custom: {
    50: '#65624e',
    500: '#2b290f',
    950: '#000000',
  },
}
SCSS
$custom: #2b290f;
$custom-light: #65624e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b290f",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 15
  },
  "hsl": {
    "h": 55.714,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27614,
    "c": 0.04173,
    "h": 104.8
  },
  "luminance": 0.02134
}

Semantic roles & 50–950 ramp

primary
#2B290F
secondary
#323564
accent
#5AD850
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B290F

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

Preview Lab → · Contrast checker → · Palette generator →

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