#2C2C07#2C2C07

#2C2C07 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.054 H 109.4°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#2C2C07
RGBrgb(44, 44, 7)
HSLhsl(60, 73%, 10%)
HSVhsv(60, 84%, 17%)
CMYKcmyk(0%, 0%, 84.1%, 82.7%)
CIE-LABlab(17.24, -5.74, 21.84)
CIE-LCHlch(17.24, 22.58, 104.71°)
OKLaboklab(28.46% -0.018 0.0512)
OKLCHoklch(28.46% 0.054 109.4)
XYZxyz(1.9778, 2.3522, 0.5508)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C07 #07072C
analogous
#2C1A07 #2C2C07 #1A2C07
triadic
#2C2C07 #072C2C #2C072C
tetradic
#2C2C07 #072C1A #07072C #2C071A
square
#2C2C07 #072C1A #07072C #2C071A
split-complementary
#2C2C07 #07192C #19072C
monochromatic
#1A1A04 #1A1A04 #2C2C07 #61610F #969618

Accessibility & contrast

On white

14.28
#2C2C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2C2C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C07
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C07#FFFFFF#000000##FFFFFF
##2C2C071.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#312B09
Tritanopia (blue-blind)
#302925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c2c07;
/* rgb */ color: rgb(44, 44, 7);
/* oklch */ color: oklch(28.5% 0.054 109.4);
Tailwind
colors: {
  custom: {
    50: '#66644a',
    500: '#2c2c07',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c07;
$custom-light: #66644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c07",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 60,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.28455,
    "c": 0.05426,
    "h": 109.4
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#2C2C07
secondary
#23236C
accent
#39EF39
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2C2C07

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

Preview Lab → · Contrast checker → · Palette generator →

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