#2F2F10#2F2F10

#2F2F10 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.048 H 109.0°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2F2F10
RGBrgb(47, 47, 16)
HSLhsl(60, 49%, 12%)
HSVhsv(60, 66%, 18%)
CMYKcmyk(0%, 0%, 66%, 81.6%)
CIE-LABlab(18.69, -5.28, 19.55)
CIE-LCHlch(18.69, 20.25, 105.11°)
OKLaboklab(29.72% -0.0157 0.0456)
OKLCHoklch(29.72% 0.048 109)
XYZxyz(2.2824, 2.6748, 0.8862)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F10 #10102F
analogous
#2F2010 #2F2F10 #202F10
triadic
#2F2F10 #102F2F #2F102F
tetradic
#2F2F10 #102F20 #10102F #2F1020
square
#2F2F10 #102F20 #10102F #2F1020
split-complementary
#2F2F10 #10202F #20102F
monochromatic
#171708 #171708 #2F2F10 #5D5D20 #8A8A2F

Accessibility & contrast

On white

13.68
#2F2F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F2F10
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F10#FFFFFF#000000##FFFFFF
##2F2F101.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0D
Deuteranopia (green-blind)
#342E12
Tritanopia (blue-blind)
#332C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2f10;
/* rgb */ color: rgb(47, 47, 16);
/* oklch */ color: oklch(29.7% 0.048 109.0);
Tailwind
colors: {
  custom: {
    50: '#69674f',
    500: '#2f2f10',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f10;
$custom-light: #69674f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f10",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29724,
    "c": 0.04822,
    "h": 109
  },
  "luminance": 0.02675
}

Semantic roles & 50–950 ramp

primary
#2F2F10
secondary
#333368
accent
#4FD94F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2F2F10

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

Preview Lab → · Contrast checker → · Palette generator →

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