#2C2802#2C2802

#2C2802 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.055 H 103.4°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#2C2802
RGBrgb(44, 40, 2)
HSLhsl(54, 91%, 9%)
HSVhsv(54, 95%, 17%)
CMYKcmyk(0%, 9.1%, 95.5%, 82.7%)
CIE-LABlab(15.79, -3.52, 22.08)
CIE-LCHlch(15.79, 22.36, 99.07°)
OKLaboklab(27.28% -0.0128 0.0536)
OKLCHoklch(27.28% 0.055 103.4)
XYZxyz(1.8085, 2.0575, 0.3593)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2802 #02062C
analogous
#2C1302 #2C2802 #1B2C02
triadic
#2C2802 #022C28 #28022C
tetradic
#2C2802 #022C13 #02062C #2C021B
square
#2C2802 #022C13 #02062C #2C021B
split-complementary
#2C2802 #021B2C #13022C
monochromatic
#1D1B01 #1D1B01 #2C2802 #675D05 #A19207

Accessibility & contrast

On white

14.88
#2C2802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2C2802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2802
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2802#FFFFFF#000000##FFFFFF
##2C28021.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#302421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2c2802;
/* rgb */ color: rgb(44, 40, 2);
/* oklch */ color: oklch(27.3% 0.055 103.4);
Tailwind
colors: {
  custom: {
    50: '#666147',
    500: '#2c2802',
    950: '#000000',
  },
}
SCSS
$custom: #2c2802;
$custom-light: #666147;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2802",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 54.286,
    "s": 91.304,
    "l": 9.02
  },
  "oklch": {
    "l": 0.27282,
    "c": 0.05509,
    "h": 103.4
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#2C2802
secondary
#192171
accent
#3DFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2C2802

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

Preview Lab → · Contrast checker → · Palette generator →

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