#2C3304#2C3304

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

Color values

HEX#2C3304
RGBrgb(44, 51, 4)
HSLhsl(69, 85%, 11%)
HSVhsv(69, 92%, 20%)
CMYKcmyk(13.7%, 0%, 92.2%, 80%)
CIE-LABlab(19.69, -10.38, 25.95)
CIE-LCHlch(19.69, 27.95, 111.79°)
OKLaboklab(30.41% -0.0314 0.0588)
OKLCHoklch(30.41% 0.067 118.1)
XYZxyz(2.2445, 2.9119, 0.5587)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3304 #0B0433
analogous
#332204 #2C3304 #143304
triadic
#2C3304 #042C33 #33042C
tetradic
#2C3304 #043322 #0B0433 #330414
square
#2C3304 #043322 #0B0433 #330414
split-complementary
#2C3304 #041433 #220433
monochromatic
#181C02 #181C02 #2C3304 #5D6C08 #8EA40D

Accessibility & contrast

On white

13.27
#2C3304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3304
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3304#FFFFFF#000000##FFFFFF
##2C33041.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373000
Deuteranopia (green-blind)
#363008
Tritanopia (blue-blind)
#2F302A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c3304;
/* rgb */ color: rgb(44, 51, 4);
/* oklch */ color: oklch(30.4% 0.067 118.1);
Tailwind
colors: {
  custom: {
    50: '#676a49',
    500: '#2c3304',
    950: '#000000',
  },
}
SCSS
$custom: #2c3304;
$custom-light: #676a49;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3304",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 68.936,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30411,
    "c": 0.06668,
    "h": 118.1
  },
  "luminance": 0.02912
}

Semantic roles & 50–950 ramp

primary
#2C3304
secondary
#2B1D75
accent
#2CFC4B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C3304

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

Preview Lab → · Contrast checker → · Palette generator →

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