#2A2B11#2A2B11

#2A2B11 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.1% C 0.042 H 110.8°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#2A2B11
RGBrgb(42, 43, 17)
HSLhsl(62, 43%, 12%)
HSVhsv(62, 60%, 17%)
CMYKcmyk(2.3%, 0%, 60.5%, 83.1%)
CIE-LABlab(16.80, -5.20, 16.59)
CIE-LCHlch(16.80, 17.38, 107.42°)
OKLaboklab(28.09% -0.015 0.0394)
OKLCHoklch(28.09% 0.042 110.8)
XYZxyz(1.9199, 2.2605, 0.8654)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B11 #12112B
analogous
#2B1F11 #2A2B11 #1D2B11
triadic
#2A2B11 #112A2B #2B112A
tetradic
#2A2B11 #112B1F #12112B #2B111D
square
#2A2B11 #112B1F #12112B #2B111D
split-complementary
#2A2B11 #111D2B #1F112B
monochromatic
#151609 #151609 #2A2B11 #555722 #808334

Accessibility & contrast

On white

14.46
#2A2B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2B11
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B11#FFFFFF#000000##FFFFFF
##2A2B111.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290F
Deuteranopia (green-blind)
#2F2A12
Tritanopia (blue-blind)
#2D2825
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2b11;
/* rgb */ color: rgb(42, 43, 17);
/* oklch */ color: oklch(28.1% 0.042 110.8);
Tailwind
colors: {
  custom: {
    50: '#64644f',
    500: '#2a2b11',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b11;
$custom-light: #64644f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b11",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 17
  },
  "hsl": {
    "h": 62.308,
    "s": 43.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28094,
    "c": 0.04219,
    "h": 110.8
  },
  "luminance": 0.0226
}

Semantic roles & 50–950 ramp

primary
#2A2B11
secondary
#373563
accent
#55D35A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050502
muted
#7A7978

Preview Lab

Preview with #2A2B11

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

Preview Lab → · Contrast checker → · Palette generator →

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