#2A2B0B#2A2B0B

#2A2B0B is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.049 H 110.9°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#2A2B0B
RGBrgb(42, 43, 11)
HSLhsl(62, 59%, 11%)
HSVhsv(62, 74%, 17%)
CMYKcmyk(2.3%, 0%, 74.4%, 83.1%)
CIE-LABlab(16.72, -5.83, 19.52)
CIE-LCHlch(16.72, 20.37, 106.64°)
OKLaboklab(28.01% -0.0176 0.0461)
OKLCHoklch(28.01% 0.049 110.9)
XYZxyz(1.8792, 2.2442, 0.6507)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B0B #0C0B2B
analogous
#2B1C0B #2A2B0B #1A2B0B
triadic
#2A2B0B #0B2A2B #2B0B2A
tetradic
#2A2B0B #0B2B1C #0C0B2B #2B0B1A
square
#2A2B0B #0B2B1C #0C0B2B #2B0B1A
split-complementary
#2A2B0B #0B1A2B #1C0B2B
monochromatic
#181806 #181806 #2A2B0B #5A5C17 #898C24

Accessibility & contrast

On white

14.49
#2A2B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2A2B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B0B
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B0B#FFFFFF#000000##FFFFFF
##2A2B0B1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2907
Deuteranopia (green-blind)
#2F2A0D
Tritanopia (blue-blind)
#2D2824
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2b0b;
/* rgb */ color: rgb(42, 43, 11);
/* oklch */ color: oklch(28.0% 0.049 110.9);
Tailwind
colors: {
  custom: {
    50: '#64644c',
    500: '#2a2b0b',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b0b;
$custom-light: #64644c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b0b",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 61.875,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28005,
    "c": 0.04932,
    "h": 110.9
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#2A2B0B
secondary
#2D2B67
accent
#45E24A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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