#2D2C01#2D2C01

#2D2C01 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.060 H 108.3°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#2D2C01
RGBrgb(45, 44, 1)
HSLhsl(59, 96%, 9%)
HSVhsv(59, 98%, 18%)
CMYKcmyk(0%, 2.2%, 97.8%, 82.4%)
CIE-LABlab(17.28, -5.68, 24.36)
CIE-LCHlch(17.28, 25.01, 103.12°)
OKLaboklab(28.5% -0.019 0.0574)
OKLCHoklch(28.5% 0.06 108.3)
XYZxyz(1.9884, 2.3615, 0.3798)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C01 #01022D
analogous
#2D1601 #2D2C01 #182D01
triadic
#2D2C01 #012D2C #2C012D
tetradic
#2D2C01 #012D16 #01022D #2D0118
square
#2D2C01 #012D16 #01022D #2D0118
split-complementary
#2D2C01 #01182D #16012D
monochromatic
#1E1D01 #1E1D01 #2D2C01 #696702 #A5A104

Accessibility & contrast

On white

14.26
#2D2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2D2C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C01
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C01#FFFFFF#000000##FFFFFF
##2D2C011.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#312B04
Tritanopia (blue-blind)
#312824
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2d2c01;
/* rgb */ color: rgb(45, 44, 1);
/* oklch */ color: oklch(28.5% 0.060 108.3);
Tailwind
colors: {
  custom: {
    50: '#676447',
    500: '#2d2c01',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c01;
$custom-light: #676447;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c01",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 58.636,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.28496,
    "c": 0.06044,
    "h": 108.3
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#2D2C01
secondary
#171973
accent
#2EFF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2D2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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