#2C2D04#2C2D04

#2C2D04 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.059 H 111.0°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#2C2D04
RGBrgb(44, 45, 4)
HSLhsl(61, 84%, 10%)
HSVhsv(61, 91%, 18%)
CMYKcmyk(2.2%, 0%, 91.1%, 82.4%)
CIE-LABlab(17.56, -6.63, 23.45)
CIE-LCHlch(17.56, 24.37, 105.78°)
OKLaboklab(28.7% -0.021 0.0548)
OKLCHoklch(28.7% 0.059 111)
XYZxyz(1.9991, 2.4211, 0.4768)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D04 #05042D
analogous
#2D1A04 #2C2D04 #182D04
triadic
#2C2D04 #042C2D #2D042C
tetradic
#2C2D04 #042D1A #05042D #2D0418
square
#2C2D04 #042D1A #05042D #2D0418
split-complementary
#2C2D04 #04182D #1A042D
monochromatic
#1B1C02 #1B1C02 #2C2D04 #636509 #9A9D0E

Accessibility & contrast

On white

14.15
#2C2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2C2D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D04
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D04#FFFFFF#000000##FFFFFF
##2C2D041.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#302925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2c2d04;
/* rgb */ color: rgb(44, 45, 4);
/* oklch */ color: oklch(28.7% 0.059 111.0);
Tailwind
colors: {
  custom: {
    50: '#666549',
    500: '#2c2d04',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d04;
$custom-light: #666549;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d04",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 61.463,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28702,
    "c": 0.05867,
    "h": 111
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#2C2D04
secondary
#1F1D70
accent
#2EFA33
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2C2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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