#2C3308#2C3308

#2C3308 is a dark, moderate yellow. Relative luminance 0.029; OKLCH L 30.5% C 0.063 H 118.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#2C3308
RGBrgb(44, 51, 8)
HSLhsl(70, 73%, 12%)
HSVhsv(70, 84%, 20%)
CMYKcmyk(13.7%, 0%, 84.3%, 80%)
CIE-LABlab(19.72, -10.07, 24.37)
CIE-LCHlch(19.72, 26.36, 112.45°)
OKLaboklab(30.45% -0.0299 0.0554)
OKLCHoklch(30.45% 0.063 118.4)
XYZxyz(2.2664, 2.9207, 0.6740)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3308 #0F0833
analogous
#332508 #2C3308 #173308
triadic
#2C3308 #082C33 #33082C
tetradic
#2C3308 #083325 #0F0833 #330817
square
#2C3308 #083325 #0F0833 #330817
split-complementary
#2C3308 #081733 #250833
monochromatic
#171A04 #171A04 #2C3308 #5A6810 #879D19

Accessibility & contrast

On white

13.26
#2C3308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3308
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3308#FFFFFF#000000##FFFFFF
##2C33081.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373003
Deuteranopia (green-blind)
#36300B
Tritanopia (blue-blind)
#2F302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c3308;
/* rgb */ color: rgb(44, 51, 8);
/* oklch */ color: oklch(30.5% 0.063 118.4);
Tailwind
colors: {
  custom: {
    50: '#676a4b',
    500: '#2c3308',
    950: '#000000',
  },
}
SCSS
$custom: #2c3308;
$custom-light: #676a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3308",
  "rgb": {
    "r": 44,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 69.767,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30451,
    "c": 0.063,
    "h": 118.4
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#2C3308
secondary
#312572
accent
#38F056
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C3308

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

Preview Lab → · Contrast checker → · Palette generator →

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