#2F2F0B#2F2F0B

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

Color values

HEX#2F2F0B
RGBrgb(47, 47, 11)
HSLhsl(60, 62%, 11%)
HSVhsv(60, 77%, 18%)
CMYKcmyk(0%, 0%, 76.6%, 81.6%)
CIE-LABlab(18.63, -5.73, 21.95)
CIE-LCHlch(18.63, 22.68, 104.64°)
OKLaboklab(29.66% -0.0177 0.0506)
OKLCHoklch(29.66% 0.054 109.3)
XYZxyz(2.2493, 2.6616, 0.7118)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2F0B #0B0B2F
analogous
#2F1D0B #2F2F0B #1D2F0B
triadic
#2F2F0B #0B2F2F #2F0B2F
tetradic
#2F2F0B #0B2F1D #0B0B2F #2F0B1D
square
#2F2F0B #0B2F1D #0B0B2F #2F0B1D
split-complementary
#2F2F0B #0B1D2F #1D0B2F
monochromatic
#191906 #191906 #2F2F0B #616117 #929222

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F2F0B#FFFFFF#000000##FFFFFF
##2F2F0B1.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)
#332D07
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#332C28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2f2f0b;
/* rgb */ color: rgb(47, 47, 11);
/* oklch */ color: oklch(29.7% 0.054 109.3);
Tailwind
colors: {
  custom: {
    50: '#69674c',
    500: '#2f2f0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2f0b;
$custom-light: #69674c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2f0b",
  "rgb": {
    "r": 47,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 60,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29659,
    "c": 0.05357,
    "h": 109.3
  },
  "luminance": 0.02662
}

Semantic roles & 50–950 ramp

primary
#2F2F0B
secondary
#2A2A6B
accent
#43E543
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F2F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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