#2C2F0C#2C2F0C

#2C2F0C is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.053 H 113.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#2C2F0C
RGBrgb(44, 47, 12)
HSLhsl(65, 59%, 12%)
HSVhsv(65, 74%, 18%)
CMYKcmyk(6.4%, 0%, 74.5%, 81.6%)
CIE-LABlab(18.34, -7.25, 21.09)
CIE-LCHlch(18.34, 22.30, 108.98°)
OKLaboklab(29.36% -0.0216 0.0489)
OKLCHoklch(29.36% 0.053 113.8)
XYZxyz(2.1216, 2.5951, 0.7369)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F0C #0F0C2F
analogous
#2F210C #2C2F0C #1B2F0C
triadic
#2C2F0C #0C2C2F #2F0C2C
tetradic
#2C2F0C #0C2F21 #0F0C2F #2F0C1B
square
#2C2F0C #0C2F21 #0F0C2F #2F0C1B
split-complementary
#2C2F0C #0C1B2F #210C2F
monochromatic
#171806 #171806 #2C2F0C #5A6018 #879125

Accessibility & contrast

On white

13.82
#2C2F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2C2F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F0C
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F0C#FFFFFF#000000##FFFFFF
##2C2F0C1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C08
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#2F2C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2c2f0c;
/* rgb */ color: rgb(44, 47, 12);
/* oklch */ color: oklch(29.4% 0.053 113.8);
Tailwind
colors: {
  custom: {
    50: '#66674d',
    500: '#2c2f0c',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f0c;
$custom-light: #66674d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f0c",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 65.143,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29356,
    "c": 0.05342,
    "h": 113.8
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#2C2F0C
secondary
#312C6B
accent
#45E353
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2C2F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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