#2A2B05#2A2B05

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

Color values

HEX#2A2B05
RGBrgb(42, 43, 5)
HSLhsl(62, 79%, 9%)
HSVhsv(62, 88%, 17%)
CMYKcmyk(2.3%, 0%, 88.4%, 83.1%)
CIE-LABlab(16.66, -6.35, 21.90)
CIE-LCHlch(16.66, 22.80, 106.18°)
OKLaboklab(27.93% -0.0199 0.0519)
OKLCHoklch(27.93% 0.056 111)
XYZxyz(1.8462, 2.2310, 0.4769)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B05 #06052B
analogous
#2B1905 #2A2B05 #172B05
triadic
#2A2B05 #052A2B #2B052A
tetradic
#2A2B05 #052B19 #06052B #2B0517
square
#2A2B05 #052B19 #06052B #2B0517
split-complementary
#2A2B05 #05172B #19052B
monochromatic
#1B1B03 #1B1B03 #2A2B05 #60620B #959912

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2B05#FFFFFF#000000##FFFFFF
##2A2B051.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)
#2F2901
Deuteranopia (green-blind)
#2F2A07
Tritanopia (blue-blind)
#2E2824
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2b05;
/* rgb */ color: rgb(42, 43, 5);
/* oklch */ color: oklch(27.9% 0.056 111.0);
Tailwind
colors: {
  custom: {
    50: '#656449',
    500: '#2a2b05',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b05;
$custom-light: #656449;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b05",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 61.579,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27933,
    "c": 0.05564,
    "h": 111
  },
  "luminance": 0.02231
}

Semantic roles & 50–950 ramp

primary
#2A2B05
secondary
#211F6D
accent
#32F637
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2A2B05

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

Preview Lab → · Contrast checker → · Palette generator →

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