#2C2803#2C2803

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

Color values

HEX#2C2803
RGBrgb(44, 40, 3)
HSLhsl(54, 87%, 9%)
HSVhsv(54, 93%, 17%)
CMYKcmyk(0%, 9.1%, 93.2%, 82.7%)
CIE-LABlab(15.80, -3.44, 21.69)
CIE-LCHlch(15.80, 21.96, 99.01°)
OKLaboklab(27.29% -0.0123 0.0525)
OKLCHoklch(27.29% 0.054 103.2)
XYZxyz(1.8140, 2.0597, 0.3881)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2803 #03072C
analogous
#2C1403 #2C2803 #1C2C03
triadic
#2C2803 #032C28 #28032C
tetradic
#2C2803 #032C14 #03072C #2C031C
square
#2C2803 #032C14 #03072C #2C031C
split-complementary
#2C2803 #031C2C #14032C
monochromatic
#1D1A02 #1D1A02 #2C2803 #655C07 #9F900B

Accessibility & contrast

On white

14.87
#2C2803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2803
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2803#FFFFFF#000000##FFFFFF
##2C28031.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2803;
/* rgb */ color: rgb(44, 40, 3);
/* oklch */ color: oklch(27.3% 0.054 103.2);
Tailwind
colors: {
  custom: {
    50: '#666148',
    500: '#2c2803',
    950: '#000000',
  },
}
SCSS
$custom: #2c2803;
$custom-light: #666148;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2803",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 54.146,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27294,
    "c": 0.0539,
    "h": 103.2
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#2C2803
secondary
#1B2370
accent
#3FFD2A
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2C2803

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

Preview Lab → · Contrast checker → · Palette generator →

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