#2A2C0B#2A2C0B

#2A2C0B is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.051 H 112.5°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#2A2C0B
RGBrgb(42, 44, 11)
HSLhsl(64, 60%, 11%)
HSVhsv(64, 75%, 17%)
CMYKcmyk(4.5%, 0%, 75%, 82.7%)
CIE-LABlab(17.07, -6.48, 19.95)
CIE-LCHlch(17.07, 20.98, 107.99°)
OKLaboklab(28.29% -0.0194 0.0469)
OKLCHoklch(28.29% 0.051 112.5)
XYZxyz(1.9160, 2.3178, 0.6630)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C0B #0D0B2C
analogous
#2C1D0B #2A2C0B #192C0B
triadic
#2A2C0B #0B2A2C #2C0B2A
tetradic
#2A2C0B #0B2C1D #0D0B2C #2C0B19
square
#2A2C0B #0B2C1D #0D0B2C #2C0B19
split-complementary
#2A2C0B #0B192C #1D0B2C
monochromatic
#171806 #171806 #2A2C0B #595D17 #878E23

Accessibility & contrast

On white

14.35
#2A2C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2A2C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C0B
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C0B#FFFFFF#000000##FFFFFF
##2A2C0B1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A07
Deuteranopia (green-blind)
#302A0D
Tritanopia (blue-blind)
#2D2925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2c0b;
/* rgb */ color: rgb(42, 44, 11);
/* oklch */ color: oklch(28.3% 0.051 112.5);
Tailwind
colors: {
  custom: {
    50: '#64644c',
    500: '#2a2c0b',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c0b;
$custom-light: #64644c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c0b",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 63.636,
    "s": 60,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28288,
    "c": 0.05074,
    "h": 112.5
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#2A2C0B
secondary
#2E2B68
accent
#45E34E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050501
muted
#7A7A77

Preview Lab

Preview with #2A2C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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