#2C300C#2C300C

#2C300C is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.6% C 0.055 H 115.2°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2C300C
RGBrgb(44, 48, 12)
HSLhsl(67, 60%, 12%)
HSVhsv(67, 75%, 19%)
CMYKcmyk(8.3%, 0%, 75%, 81.2%)
CIE-LABlab(18.70, -7.88, 21.50)
CIE-LCHlch(18.70, 22.90, 110.13°)
OKLaboklab(29.64% -0.0234 0.0497)
OKLCHoklch(29.64% 0.055 115.2)
XYZxyz(2.1621, 2.6760, 0.7504)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C300C #100C30
analogous
#30220C #2C300C #1A300C
triadic
#2C300C #0C2C30 #300C2C
tetradic
#2C300C #0C3022 #100C30 #300C1A
square
#2C300C #0C3022 #100C30 #300C1A
split-complementary
#2C300C #0C1A30 #220C30
monochromatic
#161806 #161806 #2C300C #596118 #869224

Accessibility & contrast

On white

13.68
#2C300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C300C
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C300C#FFFFFF#000000##FFFFFF
##2C300C1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D08
Deuteranopia (green-blind)
#342E0E
Tritanopia (blue-blind)
#2F2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c300c;
/* rgb */ color: rgb(44, 48, 12);
/* oklch */ color: oklch(29.6% 0.055 115.2);
Tailwind
colors: {
  custom: {
    50: '#66684d',
    500: '#2c300c',
    950: '#000000',
  },
}
SCSS
$custom: #2c300c;
$custom-light: #66684d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c300c",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 66.667,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29639,
    "c": 0.05489,
    "h": 115.2
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#2C300C
secondary
#332C6C
accent
#45E356
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C300C

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

Preview Lab → · Contrast checker → · Palette generator →

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