#2C2C01#2C2C01

#2C2C01 is a dark, moderate yellow. Relative luminance 0.023; OKLCH L 28.4% C 0.061 H 109.7°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#2C2C01
RGBrgb(44, 44, 1)
HSLhsl(60, 96%, 9%)
HSVhsv(60, 98%, 17%)
CMYKcmyk(0%, 0%, 97.7%, 82.7%)
CIE-LABlab(17.17, -6.24, 24.21)
CIE-LCHlch(17.17, 25.00, 104.44°)
OKLaboklab(28.39% -0.0205 0.0572)
OKLCHoklch(28.39% 0.061 109.7)
XYZxyz(1.9449, 2.3391, 0.3777)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C01 #01012C
analogous
#2C1701 #2C2C01 #172C01
triadic
#2C2C01 #012C2C #2C012C
tetradic
#2C2C01 #012C17 #01012C #2C0117
square
#2C2C01 #012C17 #01012C #2C0117
split-complementary
#2C2C01 #01172C #17012C
monochromatic
#1E1E01 #1E1E01 #2C2C01 #686802 #A4A404

Accessibility & contrast

On white

14.31
#2C2C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2C01
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C01#FFFFFF#000000##FFFFFF
##2C2C011.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2c01;
/* rgb */ color: rgb(44, 44, 1);
/* oklch */ color: oklch(28.4% 0.061 109.7);
Tailwind
colors: {
  custom: {
    50: '#676447',
    500: '#2c2c01',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c01;
$custom-light: #676447;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c01",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 60,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.28386,
    "c": 0.06072,
    "h": 109.7
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#2C2C01
secondary
#171772
accent
#29FF29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2C2C01

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

Preview Lab → · Contrast checker → · Palette generator →

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