#2C310B#2C310B

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

Color values

HEX#2C310B
RGBrgb(44, 49, 11)
HSLhsl(68, 63%, 12%)
HSVhsv(68, 78%, 19%)
CMYKcmyk(10.2%, 0%, 77.6%, 80.8%)
CIE-LABlab(19.04, -8.59, 22.35)
CIE-LCHlch(19.04, 23.94, 111.04°)
OKLaboklab(29.91% -0.0255 0.0514)
OKLCHoklch(29.91% 0.057 116.4)
XYZxyz(2.1975, 2.7563, 0.7328)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C310B #100B31
analogous
#31230B #2C310B #19310B
triadic
#2C310B #0B2C31 #310B2C
tetradic
#2C310B #0B3123 #100B31 #310B19
square
#2C310B #0B3123 #100B31 #310B19
split-complementary
#2C310B #0B1931 #230B31
monochromatic
#161906 #161906 #2C310B #596316 #869521

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C310B#FFFFFF#000000##FFFFFF
##2C310B1.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)
#352E06
Deuteranopia (green-blind)
#342E0E
Tritanopia (blue-blind)
#2F2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c310b;
/* rgb */ color: rgb(44, 49, 11);
/* oklch */ color: oklch(29.9% 0.057 116.4);
Tailwind
colors: {
  custom: {
    50: '#66694c',
    500: '#2c310b',
    950: '#000000',
  },
}
SCSS
$custom: #2c310b;
$custom-light: #66694c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c310b",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 67.895,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.05735,
    "h": 116.4
  },
  "luminance": 0.02756
}

Semantic roles & 50–950 ramp

primary
#2C310B
secondary
#332A6E
accent
#41E657
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C310B

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

Preview Lab → · Contrast checker → · Palette generator →

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