#2F2B0B#2F2B0B

#2F2B0B is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.049 H 102.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#2F2B0B
RGBrgb(47, 43, 11)
HSLhsl(53, 62%, 11%)
HSVhsv(53, 77%, 18%)
CMYKcmyk(0%, 8.5%, 76.6%, 81.6%)
CIE-LABlab(17.26, -3.12, 20.30)
CIE-LCHlch(17.26, 20.54, 98.73°)
OKLaboklab(28.56% -0.0103 0.0475)
OKLCHoklch(28.56% 0.049 102.2)
XYZxyz(2.0967, 2.3563, 0.6609)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B0B #0B0F2F
analogous
#2F190B #2F2B0B #212F0B
triadic
#2F2B0B #0B2F2B #2B0B2F
tetradic
#2F2B0B #0B2F19 #0B0F2F #2F0B21
square
#2F2B0B #0B2F19 #0B0F2F #2F0B21
split-complementary
#2F2B0B #0B212F #190B2F
monochromatic
#191706 #191706 #2F2B0B #615817 #928622

Accessibility & contrast

On white

14.27
#2F2B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2F2B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B0B
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B0B#FFFFFF#000000##FFFFFF
##2F2B0B1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302907
Deuteranopia (green-blind)
#312B0D
Tritanopia (blue-blind)
#332824
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f2b0b;
/* rgb */ color: rgb(47, 43, 11);
/* oklch */ color: oklch(28.6% 0.049 102.2);
Tailwind
colors: {
  custom: {
    50: '#69644c',
    500: '#2f2b0b',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b0b;
$custom-light: #69644c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b0b",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 53.333,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28562,
    "c": 0.04858,
    "h": 102.2
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#2F2B0B
secondary
#2A326B
accent
#55E543
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2F2B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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