#2F2F0D#2F2F0D

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

Color values

HEX#2F2F0D
RGBrgb(47, 47, 13)
HSLhsl(60, 57%, 12%)
HSVhsv(60, 72%, 18%)
CMYKcmyk(0%, 0%, 72.3%, 81.6%)
CIE-LABlab(18.66, -5.57, 21.06)
CIE-LCHlch(18.66, 21.79, 104.81°)
OKLaboklab(29.68% -0.0169 0.0487)
OKLCHoklch(29.68% 0.052 109.2)
XYZxyz(2.2615, 2.6665, 0.7762)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F0D #0D0D2F
analogous
#2F1E0D #2F2F0D #1E2F0D
triadic
#2F2F0D #0D2F2F #2F0D2F
tetradic
#2F2F0D #0D2F1E #0D0D2F #2F0D1E
square
#2F2F0D #0D2F1E #0D0D2F #2F0D1E
split-complementary
#2F2F0D #0D1E2F #1E0D2F
monochromatic
#181807 #181807 #2F2F0D #5F5F1A #8F8F28

Accessibility & contrast

On white

13.70
#2F2F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2F2F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2F0D
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2F0D#FFFFFF#000000##FFFFFF
##2F2F0D1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2f0d;
/* rgb */ color: rgb(47, 47, 13);
/* oklch */ color: oklch(29.7% 0.052 109.2);
Tailwind
colors: {
  custom: {
    50: '#69674d',
    500: '#2f2f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f0d;
$custom-light: #69674d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f0d",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 13
  },
  "hsl": {
    "h": 60,
    "s": 56.667,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29683,
    "c": 0.05156,
    "h": 109.2
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#2F2F0D
secondary
#2E2E6A
accent
#48E048
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F2F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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