#2A2B06#2A2B06

#2A2B06 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.055 H 111.0°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#2A2B06
RGBrgb(42, 43, 6)
HSLhsl(62, 76%, 10%)
HSVhsv(62, 86%, 17%)
CMYKcmyk(2.3%, 0%, 86%, 83.1%)
CIE-LABlab(16.67, -6.26, 21.50)
CIE-LCHlch(16.67, 22.39, 106.24°)
OKLaboklab(27.94% -0.0195 0.0509)
OKLCHoklch(27.94% 0.055 111)
XYZxyz(1.8517, 2.2332, 0.5058)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B06 #07062B
analogous
#2B1A06 #2A2B06 #182B06
triadic
#2A2B06 #062A2B #2B062A
tetradic
#2A2B06 #062B1A #07062B #2B0618
square
#2A2B06 #062B1A #07062B #2B0618
split-complementary
#2A2B06 #06182B #1A062B
monochromatic
#1A1B04 #1A1B04 #2A2B06 #5E610D #939615

Accessibility & contrast

On white

14.52
#2A2B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2B06
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B06#FFFFFF#000000##FFFFFF
##2A2B061.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2902
Deuteranopia (green-blind)
#2F2A08
Tritanopia (blue-blind)
#2E2824
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2b06;
/* rgb */ color: rgb(42, 43, 6);
/* oklch */ color: oklch(27.9% 0.055 111.0);
Tailwind
colors: {
  custom: {
    50: '#656449',
    500: '#2a2b06',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b06;
$custom-light: #656449;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b06",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 61.622,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27945,
    "c": 0.05455,
    "h": 111
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#2A2B06
secondary
#23216C
accent
#36F23B
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2A2B06

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

Preview Lab → · Contrast checker → · Palette generator →

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