#2F2F14#2F2F14

#2F2F14 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.043 H 108.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#2F2F14
RGBrgb(47, 47, 20)
HSLhsl(60, 40%, 13%)
HSVhsv(60, 57%, 18%)
CMYKcmyk(0%, 0%, 57.4%, 81.6%)
CIE-LABlab(18.75, -4.84, 17.22)
CIE-LCHlch(18.75, 17.89, 105.69°)
OKLaboklab(29.79% -0.0139 0.041)
OKLCHoklch(29.79% 0.043 108.8)
XYZxyz(2.3151, 2.6879, 1.0586)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F14 #14142F
analogous
#2F2114 #2F2F14 #212F14
triadic
#2F2F14 #142F2F #2F142F
tetradic
#2F2F14 #142F21 #14142F #2F1421
square
#2F2F14 #142F21 #14142F #2F1421
split-complementary
#2F2F14 #14212F #21142F
monochromatic
#151509 #151509 #2F2F14 #5A5A26 #858539

Accessibility & contrast

On white

13.66
#2F2F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2F2F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F14
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F14#FFFFFF#000000##FFFFFF
##2F2F141.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D12
Deuteranopia (green-blind)
#332E15
Tritanopia (blue-blind)
#322C29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f2f14;
/* rgb */ color: rgb(47, 47, 20);
/* oklch */ color: oklch(29.8% 0.043 108.8);
Tailwind
colors: {
  custom: {
    50: '#686752',
    500: '#2f2f14',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f14;
$custom-light: #686752;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f14",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 40.299,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29787,
    "c": 0.04326,
    "h": 108.8
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#2F2F14
secondary
#393966
accent
#58D058
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F2F14

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

Preview Lab → · Contrast checker → · Palette generator →

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