#2C2A07#2C2A07

#2C2A07 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.052 H 106.1°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#2C2A07
RGBrgb(44, 42, 7)
HSLhsl(57, 73%, 10%)
HSVhsv(57, 84%, 17%)
CMYKcmyk(0%, 4.5%, 84.1%, 82.7%)
CIE-LABlab(16.54, -4.43, 20.98)
CIE-LCHlch(16.54, 21.44, 101.91°)
OKLaboklab(27.9% -0.0143 0.0497)
OKLCHoklch(27.9% 0.052 106.1)
XYZxyz(1.9051, 2.2068, 0.5266)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A07 #07092C
analogous
#2C1807 #2C2A07 #1B2C07
triadic
#2C2A07 #072C2A #2A072C
tetradic
#2C2A07 #072C18 #07092C #2C071B
square
#2C2A07 #072C18 #07092C #2C071B
split-complementary
#2C2A07 #071B2C #18072C
monochromatic
#1A1904 #1A1904 #2C2A07 #615C0F #968F18

Accessibility & contrast

On white

14.57
#2C2A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2C2A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A07
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A07#FFFFFF#000000##FFFFFF
##2C2A071.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2803
Deuteranopia (green-blind)
#2F2A09
Tritanopia (blue-blind)
#302723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2c2a07;
/* rgb */ color: rgb(44, 42, 7);
/* oklch */ color: oklch(27.9% 0.052 106.1);
Tailwind
colors: {
  custom: {
    50: '#66634a',
    500: '#2c2a07',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a07;
$custom-light: #66634a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a07",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 56.757,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.27897,
    "c": 0.05174,
    "h": 106.1
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#2C2A07
secondary
#23276C
accent
#42EF39
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2C2A07

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

Preview Lab → · Contrast checker → · Palette generator →

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