#2A2301#2A2301

#2A2301 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.7% C 0.052 H 97.6°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#2A2301
RGBrgb(42, 35, 1)
HSLhsl(50, 95%, 8%)
HSVhsv(50, 98%, 16%)
CMYKcmyk(0%, 16.7%, 97.6%, 83.5%)
CIE-LABlab(13.81, -1.37, 19.89)
CIE-LCHlch(13.81, 19.93, 93.95°)
OKLaboklab(25.65% -0.0069 0.0512)
OKLCHoklch(25.65% 0.052 97.6)
XYZxyz(1.5614, 1.6966, 0.2739)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2301 #01082A
analogous
#2A0E01 #2A2301 #1C2A01
triadic
#2A2301 #012A23 #23012A
tetradic
#2A2301 #012A0E #01082A #2A011C
square
#2A2301 #012A0E #01082A #2A011C
split-complementary
#2A2301 #011C2A #0E012A
monochromatic
#1E1901 #1E1901 #2A2301 #665502 #A28704

Accessibility & contrast

On white

15.68
#2A2301 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2A2301 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2301
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2301#FFFFFF#000000##FFFFFF
##2A23011.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#2A2402
Tritanopia (blue-blind)
#2E1F1C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a2301;
/* rgb */ color: rgb(42, 35, 1);
/* oklch */ color: oklch(25.7% 0.052 97.6);
Tailwind
colors: {
  custom: {
    50: '#655d47',
    500: '#2a2301',
    950: '#000000',
  },
}
SCSS
$custom: #2a2301;
$custom-light: #655d47;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2301",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 1
  },
  "hsl": {
    "h": 49.756,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25651,
    "c": 0.05164,
    "h": 97.6
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#2A2301
secondary
#162670
accent
#4DFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2A2301

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

Preview Lab → · Contrast checker → · Palette generator →

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