#2A2B0D#2A2B0D

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

Color values

HEX#2A2B0D
RGBrgb(42, 43, 13)
HSLhsl(62, 54%, 11%)
HSVhsv(62, 70%, 17%)
CMYKcmyk(2.3%, 0%, 69.8%, 83.1%)
CIE-LABlab(16.74, -5.64, 18.64)
CIE-LCHlch(16.74, 19.47, 106.84°)
OKLaboklab(28.03% -0.0168 0.044)
OKLCHoklch(28.03% 0.047 110.8)
XYZxyz(1.8914, 2.2491, 0.7152)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B0D #0E0D2B
analogous
#2B1D0D #2A2B0D #1B2B0D
triadic
#2A2B0D #0D2A2B #2B0D2A
tetradic
#2A2B0D #0D2B1D #0E0D2B #2B0D1B
square
#2A2B0D #0D2B1D #0E0D2B #2B0D1B
split-complementary
#2A2B0D #0D1B2B #1D0D2B
monochromatic
#171707 #171707 #2A2B0D #585A1B #868929

Accessibility & contrast

On white

14.48
#2A2B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2B0D
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B0D#FFFFFF#000000##FFFFFF
##2A2B0D1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2b0d;
/* rgb */ color: rgb(42, 43, 13);
/* oklch */ color: oklch(28.0% 0.047 110.8);
Tailwind
colors: {
  custom: {
    50: '#64644d',
    500: '#2a2b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b0d;
$custom-light: #64644d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b0d",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 13
  },
  "hsl": {
    "h": 62,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28032,
    "c": 0.0471,
    "h": 110.8
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#2A2B0D
secondary
#302E66
accent
#4BDD50
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#050501
muted
#7A7977

Preview Lab

Preview with #2A2B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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