#2C300F#2C300F

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

Color values

HEX#2C300F
RGBrgb(44, 48, 15)
HSLhsl(67, 52%, 12%)
HSVhsv(67, 69%, 19%)
CMYKcmyk(8.3%, 0%, 68.7%, 81.2%)
CIE-LABlab(18.73, -7.60, 20.07)
CIE-LCHlch(18.73, 21.46, 110.74°)
OKLaboklab(29.68% -0.0222 0.0467)
OKLCHoklch(29.68% 0.052 115.4)
XYZxyz(2.1819, 2.6839, 0.8549)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C300F #130F30
analogous
#30240F #2C300F #1B300F
triadic
#2C300F #0F2C30 #300F2C
tetradic
#2C300F #0F3024 #130F30 #300F1B
square
#2C300F #0F3024 #130F30 #300F1B
split-complementary
#2C300F #0F1B30 #240F30
monochromatic
#151707 #151707 #2C300F #575F1E #818D2C

Accessibility & contrast

On white

13.66
#2C300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C300F
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C300F#FFFFFF#000000##FFFFFF
##2C300F1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0B
Deuteranopia (green-blind)
#332E11
Tritanopia (blue-blind)
#2F2D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c300f;
/* rgb */ color: rgb(44, 48, 15);
/* oklch */ color: oklch(29.7% 0.052 115.4);
Tailwind
colors: {
  custom: {
    50: '#66684f',
    500: '#2c300f',
    950: '#000000',
  },
}
SCSS
$custom: #2c300f;
$custom-light: #66684f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c300f",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 67.273,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29677,
    "c": 0.05169,
    "h": 115.4
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#2C300F
secondary
#38316A
accent
#4CDC5D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2C300F

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

Preview Lab → · Contrast checker → · Palette generator →

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