#2C300B#2C300B

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

Color values

HEX#2C300B
RGBrgb(44, 48, 11)
HSLhsl(66, 63%, 12%)
HSVhsv(66, 77%, 19%)
CMYKcmyk(8.3%, 0%, 77.1%, 81.2%)
CIE-LABlab(18.69, -7.97, 21.93)
CIE-LCHlch(18.69, 23.34, 109.97°)
OKLaboklab(29.63% -0.0237 0.0506)
OKLCHoklch(29.63% 0.056 115.1)
XYZxyz(2.1561, 2.6736, 0.7190)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C300B #0F0B30
analogous
#30220B #2C300B #1A300B
triadic
#2C300B #0B2C30 #300B2C
tetradic
#2C300B #0B3022 #0F0B30 #300B1A
square
#2C300B #0B3022 #0F0B30 #300B1A
split-complementary
#2C300B #0B1A30 #220B30
monochromatic
#171906 #171906 #2C300B #5A6216 #879422

Accessibility & contrast

On white

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

On black

1.53
#2C300B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C300B#FFFFFF#000000##FFFFFF
##2C300B1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c300b;
/* rgb */ color: rgb(44, 48, 11);
/* oklch */ color: oklch(29.6% 0.056 115.1);
Tailwind
colors: {
  custom: {
    50: '#66684c',
    500: '#2c300b',
    950: '#000000',
  },
}
SCSS
$custom: #2c300b;
$custom-light: #66684c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c300b",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 11
  },
  "hsl": {
    "h": 66.486,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29627,
    "c": 0.05588,
    "h": 115.1
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#2C300B
secondary
#312A6D
accent
#42E654
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C300B

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

Preview Lab → · Contrast checker → · Palette generator →

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