#2D2A01#2D2A01

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

Color values

HEX#2D2A01
RGBrgb(45, 42, 1)
HSLhsl(56, 96%, 9%)
HSVhsv(56, 98%, 18%)
CMYKcmyk(0%, 6.7%, 97.8%, 82.4%)
CIE-LABlab(16.58, -4.37, 23.51)
CIE-LCHlch(16.58, 23.91, 100.54°)
OKLaboklab(27.94% -0.0154 0.0562)
OKLCHoklch(27.94% 0.058 105.3)
XYZxyz(1.9157, 2.2161, 0.3555)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2A01 #01042D
analogous
#2D1401 #2D2A01 #1A2D01
triadic
#2D2A01 #012D2A #2A012D
tetradic
#2D2A01 #012D14 #01042D #2D011A
square
#2D2A01 #012D14 #01042D #2D011A
split-complementary
#2D2A01 #011A2D #14012D
monochromatic
#1E1C01 #1E1C01 #2D2A01 #696202 #A59A04

Accessibility & contrast

On white

14.55
#2D2A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2D2A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2A01
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2A01#FFFFFF#000000##FFFFFF
##2D2A011.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#302A03
Tritanopia (blue-blind)
#312622
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2d2a01;
/* rgb */ color: rgb(45, 42, 1);
/* oklch */ color: oklch(27.9% 0.058 105.3);
Tailwind
colors: {
  custom: {
    50: '#676347',
    500: '#2d2a01',
    950: '#000000',
  },
}
SCSS
$custom: #2d2a01;
$custom-light: #676347;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2a01",
  "rgb": {
    "r": 45,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 55.909,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27939,
    "c": 0.05822,
    "h": 105.3
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#2D2A01
secondary
#171D73
accent
#37FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2D2A01

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

Preview Lab → · Contrast checker → · Palette generator →

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