#2C3402#2C3402

#2C3402 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.7% C 0.070 H 118.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#2C3402
RGBrgb(44, 52, 2)
HSLhsl(70, 93%, 11%)
HSVhsv(70, 96%, 20%)
CMYKcmyk(15.4%, 0%, 96.2%, 79.6%)
CIE-LABlab(20.03, -11.14, 27.15)
CIE-LCHlch(20.03, 29.35, 112.30°)
OKLaboklab(30.68% -0.0337 0.0613)
OKLCHoklch(30.68% 0.07 118.9)
XYZxyz(2.2777, 2.9959, 0.5157)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3402 #0A0234
analogous
#342302 #2C3402 #133402
triadic
#2C3402 #022C34 #34022C
tetradic
#2C3402 #023423 #0A0234 #340213
square
#2C3402 #023423 #0A0234 #340213
split-complementary
#2C3402 #021334 #230234
monochromatic
#191D01 #191D01 #2C3402 #5E6F04 #90AA07

Accessibility & contrast

On white

13.13
#2C3402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2C3402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3402
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3402#FFFFFF#000000##FFFFFF
##2C34021.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#373106
Tritanopia (blue-blind)
#2F302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c3402;
/* rgb */ color: rgb(44, 52, 2);
/* oklch */ color: oklch(30.7% 0.070 118.9);
Tailwind
colors: {
  custom: {
    50: '#676b48',
    500: '#2c3402',
    950: '#000000',
  },
}
SCSS
$custom: #2c3402;
$custom-light: #676b48;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3402",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 2
  },
  "hsl": {
    "h": 69.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30679,
    "c": 0.06993,
    "h": 118.9
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#2C3402
secondary
#291A78
accent
#29FF4B
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C3402

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

Preview Lab → · Contrast checker → · Palette generator →

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