#2C310A#2C310A

#2C310A is a dark, muted yellow. Relative luminance 0.028; OKLCH L 29.9% C 0.058 H 116.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2C310A
RGBrgb(44, 49, 10)
HSLhsl(68, 66%, 12%)
HSVhsv(68, 80%, 19%)
CMYKcmyk(10.2%, 0%, 79.6%, 80.8%)
CIE-LABlab(19.03, -8.67, 22.75)
CIE-LCHlch(19.03, 24.35, 110.87°)
OKLaboklab(29.9% -0.0258 0.0522)
OKLCHoklch(29.9% 0.058 116.3)
XYZxyz(2.1919, 2.7540, 0.7032)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C310A #0F0A31
analogous
#31230A #2C310A #19310A
triadic
#2C310A #0A2C31 #310A2C
tetradic
#2C310A #0A3123 #0F0A31 #310A19
square
#2C310A #0A3123 #0F0A31 #310A19
split-complementary
#2C310A #0A1931 #230A31
monochromatic
#171905 #171905 #2C310A #5A6414 #87971F

Accessibility & contrast

On white

13.54
#2C310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2C310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C310A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C310A#FFFFFF#000000##FFFFFF
##2C310A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E05
Deuteranopia (green-blind)
#352E0D
Tritanopia (blue-blind)
#2F2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c310a;
/* rgb */ color: rgb(44, 49, 10);
/* oklch */ color: oklch(29.9% 0.058 116.3);
Tailwind
colors: {
  custom: {
    50: '#66694c',
    500: '#2c310a',
    950: '#000000',
  },
}
SCSS
$custom: #2c310a;
$custom-light: #66694c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c310a",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 67.692,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29901,
    "c": 0.05828,
    "h": 116.3
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#2C310A
secondary
#31296E
accent
#3FE955
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C310A

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

Preview Lab → · Contrast checker → · Palette generator →

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