#2F2B0C#2F2B0C

#2F2B0C is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.048 H 102.0°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#2F2B0C
RGBrgb(47, 43, 12)
HSLhsl(53, 59%, 12%)
HSVhsv(53, 74%, 18%)
CMYKcmyk(0%, 8.5%, 74.5%, 81.6%)
CIE-LABlab(17.27, -3.03, 19.87)
CIE-LCHlch(17.27, 20.10, 98.68°)
OKLaboklab(28.58% -0.0099 0.0465)
OKLCHoklch(28.58% 0.048 102)
XYZxyz(2.1026, 2.3587, 0.6923)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B0C #0C102F
analogous
#2F1A0C #2F2B0C #222F0C
triadic
#2F2B0C #0C2F2B #2B0C2F
tetradic
#2F2B0C #0C2F1A #0C102F #2F0C22
square
#2F2B0C #0C2F1A #0C102F #2F0C22
split-complementary
#2F2B0C #0C222F #1A0C2F
monochromatic
#181606 #181606 #2F2B0C #605818 #918425

Accessibility & contrast

On white

14.27
#2F2B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B0C
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B0C#FFFFFF#000000##FFFFFF
##2F2B0C1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302909
Deuteranopia (green-blind)
#312B0E
Tritanopia (blue-blind)
#332824
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2b0c;
/* rgb */ color: rgb(47, 43, 12);
/* oklch */ color: oklch(28.6% 0.048 102.0);
Tailwind
colors: {
  custom: {
    50: '#69644c',
    500: '#2f2b0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b0c;
$custom-light: #69644c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b0c",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 12
  },
  "hsl": {
    "h": 53.143,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28575,
    "c": 0.04754,
    "h": 102
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#2F2B0C
secondary
#2C336B
accent
#57E345
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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