#2F2D12#2F2D12

#2F2D12 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.043 H 104.9°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#2F2D12
RGBrgb(47, 45, 18)
HSLhsl(56, 45%, 13%)
HSVhsv(56, 62%, 18%)
CMYKcmyk(0%, 4.3%, 61.7%, 81.6%)
CIE-LABlab(18.03, -3.76, 17.60)
CIE-LCHlch(18.03, 18.00, 102.06°)
OKLaboklab(29.21% -0.0111 0.0416)
OKLCHoklch(29.21% 0.043 104.9)
XYZxyz(2.2199, 2.5248, 0.9426)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2D12 #12142F
analogous
#2F1E12 #2F2D12 #222F12
triadic
#2F2D12 #122F2D #2D122F
tetradic
#2F2D12 #122F1E #12142F #2F1222
square
#2F2D12 #122F1E #12142F #2F1222
split-complementary
#2F2D12 #12222F #1E122F
monochromatic
#161508 #161508 #2F2D12 #5B5723 #888234

Accessibility & contrast

On white

13.95
#2F2D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2F2D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2D12
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2D12#FFFFFF#000000##FFFFFF
##2F2D121.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B10
Deuteranopia (green-blind)
#322D13
Tritanopia (blue-blind)
#332A27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2f2d12;
/* rgb */ color: rgb(47, 45, 18);
/* oklch */ color: oklch(29.2% 0.043 104.9);
Tailwind
colors: {
  custom: {
    50: '#686550',
    500: '#2f2d12',
    950: '#000000',
  },
}
SCSS
$custom: #2f2d12;
$custom-light: #686550;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2d12",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 55.862,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29206,
    "c": 0.04303,
    "h": 104.9
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#2F2D12
secondary
#363967
accent
#5CD453
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #2F2D12

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

Preview Lab → · Contrast checker → · Palette generator →

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