#2C2C02#2C2C02

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

Color values

HEX#2C2C02
RGBrgb(44, 44, 2)
HSLhsl(60, 91%, 9%)
HSVhsv(60, 95%, 17%)
CMYKcmyk(0%, 0%, 95.5%, 82.7%)
CIE-LABlab(17.19, -6.15, 23.81)
CIE-LCHlch(17.19, 24.60, 104.48°)
OKLaboklab(28.4% -0.02 0.0561)
OKLCHoklch(28.4% 0.06 109.7)
XYZxyz(1.9504, 2.3413, 0.4066)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C02 #02022C
analogous
#2C1702 #2C2C02 #172C02
triadic
#2C2C02 #022C2C #2C022C
tetradic
#2C2C02 #022C17 #02022C #2C0217
square
#2C2C02 #022C17 #02022C #2C0217
split-complementary
#2C2C02 #02172C #17022C
monochromatic
#1D1D01 #1D1D01 #2C2C02 #676705 #A1A107

Accessibility & contrast

On white

14.30
#2C2C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2C02
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C02#FFFFFF#000000##FFFFFF
##2C2C021.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2c02;
/* rgb */ color: rgb(44, 44, 2);
/* oklch */ color: oklch(28.4% 0.060 109.7);
Tailwind
colors: {
  custom: {
    50: '#666448',
    500: '#2c2c02',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c02;
$custom-light: #666448;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c02",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.28397,
    "c": 0.0596,
    "h": 109.7
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2C02

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

Preview Lab → · Contrast checker → · Palette generator →

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