#2F2401#2F2401

#2F2401 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.6% C 0.053 H 91.0°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#2F2401
RGBrgb(47, 36, 1)
HSLhsl(46, 96%, 9%)
HSVhsv(46, 98%, 18%)
CMYKcmyk(0%, 23.4%, 97.9%, 81.6%)
CIE-LABlab(14.78, 0.82, 21.28)
CIE-LCHlch(14.78, 21.29, 87.81°)
OKLaboklab(26.57% -0.001 0.0531)
OKLCHoklch(26.57% 0.053 91)
XYZxyz(1.8088, 1.8684, 0.2941)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2401 #010C2F
analogous
#2F0D01 #2F2401 #232F01
triadic
#2F2401 #012F24 #24012F
tetradic
#2F2401 #012F0D #010C2F #2F0123
square
#2F2401 #012F0D #010C2F #2F0123
split-complementary
#2F2401 #01232F #0D012F
monochromatic
#1E1701 #1E1701 #2F2401 #6B5202 #A78004

Accessibility & contrast

On white

15.29
#2F2401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2F2401 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2401
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2401#FFFFFF#000000##FFFFFF
##2F24011.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2300
Deuteranopia (green-blind)
#2C2702
Tritanopia (blue-blind)
#34201D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2f2401;
/* rgb */ color: rgb(47, 36, 1);
/* oklch */ color: oklch(26.6% 0.053 91.0);
Tailwind
colors: {
  custom: {
    50: '#695e47',
    500: '#2f2401',
    950: '#000000',
  },
}
SCSS
$custom: #2f2401;
$custom-light: #695e47;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2401",
  "rgb": {
    "r": 47,
    "g": 36,
    "b": 1
  },
  "hsl": {
    "h": 45.652,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26568,
    "c": 0.05308,
    "h": 91
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#2F2401
secondary
#172D75
accent
#5CFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2F2401

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

Preview Lab → · Contrast checker → · Palette generator →

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