#2F2B13#2F2B13

#2F2B13 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.039 H 100.0°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#2F2B13
RGBrgb(47, 43, 19)
HSLhsl(51, 42%, 13%)
HSVhsv(51, 60%, 18%)
CMYKcmyk(0%, 8.5%, 59.6%, 81.6%)
CIE-LABlab(17.36, -2.32, 16.18)
CIE-LCHlch(17.36, 16.35, 98.15°)
OKLaboklab(28.68% -0.0068 0.0386)
OKLCHoklch(28.68% 0.039 100)
XYZxyz(2.1538, 2.3792, 0.9617)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B13 #13172F
analogous
#2F1D13 #2F2B13 #252F13
triadic
#2F2B13 #132F2B #2B132F
tetradic
#2F2B13 #132F1D #13172F #2F1325
square
#2F2B13 #132F1D #13172F #2F1325
split-complementary
#2F2B13 #13252F #1D132F
monochromatic
#161409 #161409 #2F2B13 #5B5325 #867B36

Accessibility & contrast

On white

14.23
#2F2B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2F2B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B13
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B13#FFFFFF#000000##FFFFFF
##2F2B131.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A11
Deuteranopia (green-blind)
#302B14
Tritanopia (blue-blind)
#332825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2f2b13;
/* rgb */ color: rgb(47, 43, 19);
/* oklch */ color: oklch(28.7% 0.039 100.0);
Tailwind
colors: {
  custom: {
    50: '#686451',
    500: '#2f2b13',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b13;
$custom-light: #686451;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b13",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 19
  },
  "hsl": {
    "h": 51.429,
    "s": 42.424,
    "l": 12.941
  },
  "oklch": {
    "l": 0.28682,
    "c": 0.03916,
    "h": 100
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#2F2B13
secondary
#373E66
accent
#67D256
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2F2B13

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

Preview Lab → · Contrast checker → · Palette generator →

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