#2C310C#2C310C

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

Color values

HEX#2C310C
RGBrgb(44, 49, 12)
HSLhsl(68, 61%, 12%)
HSVhsv(68, 76%, 19%)
CMYKcmyk(10.2%, 0%, 75.5%, 80.8%)
CIE-LABlab(19.05, -8.51, 21.91)
CIE-LCHlch(19.05, 23.51, 111.23°)
OKLaboklab(29.92% -0.0251 0.0505)
OKLCHoklch(29.92% 0.056 116.5)
XYZxyz(2.2034, 2.7587, 0.7642)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C310C #110C31
analogous
#31240C #2C310C #1A310C
triadic
#2C310C #0C2C31 #310C2C
tetradic
#2C310C #0C3124 #110C31 #310C1A
square
#2C310C #0C3124 #110C31 #310C1A
split-complementary
#2C310C #0C1A31 #240C31
monochromatic
#161906 #161906 #2C310C #586218 #849324

Accessibility & contrast

On white

13.53
#2C310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C310C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C310C#FFFFFF#000000##FFFFFF
##2C310C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E08
Deuteranopia (green-blind)
#342F0F
Tritanopia (blue-blind)
#2F2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c310c;
/* rgb */ color: rgb(44, 49, 12);
/* oklch */ color: oklch(29.9% 0.056 116.5);
Tailwind
colors: {
  custom: {
    50: '#66694d',
    500: '#2c310c',
    950: '#000000',
  },
}
SCSS
$custom: #2c310c;
$custom-light: #66694d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c310c",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 68.108,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29923,
    "c": 0.05638,
    "h": 116.5
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#2C310C
secondary
#352C6D
accent
#44E45A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C310C

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

Preview Lab → · Contrast checker → · Palette generator →

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