#2C3012#2C3012

#2C3012 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.048 H 115.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#2C3012
RGBrgb(44, 48, 18)
HSLhsl(68, 45%, 13%)
HSVhsv(68, 63%, 19%)
CMYKcmyk(8.3%, 0%, 62.5%, 81.2%)
CIE-LABlab(18.77, -7.27, 18.41)
CIE-LCHlch(18.77, 19.79, 111.56°)
OKLaboklab(29.72% -0.0209 0.0434)
OKLCHoklch(29.72% 0.048 115.7)
XYZxyz(2.2049, 2.6931, 0.9758)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3012 #161230
analogous
#302512 #2C3012 #1D3012
triadic
#2C3012 #122C30 #30122C
tetradic
#2C3012 #123025 #161230 #30121D
square
#2C3012 #123025 #161230 #30121D
split-complementary
#2C3012 #121D30 #251230
monochromatic
#141608 #141608 #2C3012 #555D23 #7E8933

Accessibility & contrast

On white

13.65
#2C3012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2C3012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3012
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3012#FFFFFF#000000##FFFFFF
##2C30121.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0F
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#2F2D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c3012;
/* rgb */ color: rgb(44, 48, 18);
/* oklch */ color: oklch(29.7% 0.048 115.7);
Tailwind
colors: {
  custom: {
    50: '#666851',
    500: '#2c3012',
    950: '#000000',
  },
}
SCSS
$custom: #2c3012;
$custom-light: #666851;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3012",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 68,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29722,
    "c": 0.04813,
    "h": 115.7
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#2C3012
secondary
#3C3668
accent
#53D564
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2C3012

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

Preview Lab → · Contrast checker → · Palette generator →

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