#2F2A10#2F2A10

#2F2A10 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.4% C 0.042 H 98.6°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#2F2A10
RGBrgb(47, 42, 16)
HSLhsl(50, 49%, 12%)
HSVhsv(50, 66%, 18%)
CMYKcmyk(0%, 10.6%, 66%, 81.6%)
CIE-LABlab(16.98, -1.98, 17.50)
CIE-LCHlch(16.98, 17.61, 96.46°)
OKLaboklab(28.36% -0.0063 0.0413)
OKLCHoklch(28.36% 0.042 98.6)
XYZxyz(2.0939, 2.2978, 0.8233)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A10 #10152F
analogous
#2F1B10 #2F2A10 #242F10
triadic
#2F2A10 #102F2A #2A102F
tetradic
#2F2A10 #102F1B #10152F #2F1024
square
#2F2A10 #102F1B #10152F #2F1024
split-complementary
#2F2A10 #10242F #1B102F
monochromatic
#171408 #171408 #2F2A10 #5D5320 #8A7C2F

Accessibility & contrast

On white

14.39
#2F2A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F2A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A10
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A10#FFFFFF#000000##FFFFFF
##2F2A101.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E290E
Deuteranopia (green-blind)
#302B11
Tritanopia (blue-blind)
#332724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2a10;
/* rgb */ color: rgb(47, 42, 16);
/* oklch */ color: oklch(28.4% 0.042 98.6);
Tailwind
colors: {
  custom: {
    50: '#68634f',
    500: '#2f2a10',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a10;
$custom-light: #68634f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a10",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 16
  },
  "hsl": {
    "h": 50.323,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28362,
    "c": 0.04179,
    "h": 98.6
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#2F2A10
secondary
#333B68
accent
#65D94F
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #2F2A10

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

Preview Lab → · Contrast checker → · Palette generator →

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