#2C3302#2C3302

#2C3302 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.4% C 0.069 H 117.9°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#2C3302
RGBrgb(44, 51, 2)
HSLhsl(69, 92%, 10%)
HSVhsv(69, 96%, 20%)
CMYKcmyk(13.7%, 0%, 96.1%, 80%)
CIE-LABlab(19.67, -10.53, 26.75)
CIE-LCHlch(19.67, 28.75, 111.50°)
OKLaboklab(30.39% -0.0321 0.0606)
OKLCHoklch(30.39% 0.069 117.9)
XYZxyz(2.2335, 2.9075, 0.5010)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3302 #090233
analogous
#332102 #2C3302 #143302
triadic
#2C3302 #022C33 #33022C
tetradic
#2C3302 #023321 #090233 #330214
square
#2C3302 #023321 #090233 #330214
split-complementary
#2C3302 #021433 #210233
monochromatic
#191D01 #191D01 #2C3302 #5F6E04 #92A907

Accessibility & contrast

On white

13.28
#2C3302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2C3302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3302
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3302#FFFFFF#000000##FFFFFF
##2C33021.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#373006
Tritanopia (blue-blind)
#2F2F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c3302;
/* rgb */ color: rgb(44, 51, 2);
/* oklch */ color: oklch(30.4% 0.069 117.9);
Tailwind
colors: {
  custom: {
    50: '#676a48',
    500: '#2c3302',
    950: '#000000',
  },
}
SCSS
$custom: #2c3302;
$custom-light: #676a48;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3302",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 68.571,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30391,
    "c": 0.06858,
    "h": 117.9
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#2C3302
secondary
#271A77
accent
#29FF47
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2C3302

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

Preview Lab → · Contrast checker → · Palette generator →

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