#2F2C0B#2F2C0B

#2F2C0B is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.8% C 0.050 H 104.1°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#2F2C0B
RGBrgb(47, 44, 11)
HSLhsl(55, 62%, 11%)
HSVhsv(55, 77%, 18%)
CMYKcmyk(0%, 6.4%, 76.6%, 81.6%)
CIE-LABlab(17.60, -3.78, 20.71)
CIE-LCHlch(17.60, 21.05, 100.34°)
OKLaboklab(28.83% -0.0121 0.0483)
OKLCHoklch(28.83% 0.05 104.1)
XYZxyz(2.1335, 2.4299, 0.6732)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2C0B #0B0E2F
analogous
#2F1A0B #2F2C0B #202F0B
triadic
#2F2C0B #0B2F2C #2C0B2F
tetradic
#2F2C0B #0B2F1A #0B0E2F #2F0B20
square
#2F2C0B #0B2F1A #0B0E2F #2F0B20
split-complementary
#2F2C0B #0B202F #1A0B2F
monochromatic
#191706 #191706 #2F2C0B #615A17 #928922

Accessibility & contrast

On white

14.13
#2F2C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2F2C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2C0B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2C0B#FFFFFF#000000##FFFFFF
##2F2C0B1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A07
Deuteranopia (green-blind)
#322C0D
Tritanopia (blue-blind)
#332925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2c0b;
/* rgb */ color: rgb(47, 44, 11);
/* oklch */ color: oklch(28.8% 0.050 104.1);
Tailwind
colors: {
  custom: {
    50: '#69644c',
    500: '#2f2c0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2c0b;
$custom-light: #69644c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2c0b",
  "rgb": {
    "r": 47,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 55,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28834,
    "c": 0.04976,
    "h": 104.1
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#2F2C0B
secondary
#2A306B
accent
#50E543
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2F2C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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