#2F2601#2F2601

#2F2601 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.1% C 0.054 H 95.1°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#2F2601
RGBrgb(47, 38, 1)
HSLhsl(48, 96%, 9%)
HSVhsv(48, 98%, 18%)
CMYKcmyk(0%, 19.1%, 97.9%, 81.6%)
CIE-LABlab(15.45, -0.56, 22.14)
CIE-LCHlch(15.45, 22.14, 91.44°)
OKLaboklab(27.1% -0.0048 0.0542)
OKLCHoklch(27.1% 0.054 95.1)
XYZxyz(1.8710, 1.9929, 0.3148)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2601 #010A2F
analogous
#2F0F01 #2F2601 #212F01
triadic
#2F2601 #012F26 #26012F
tetradic
#2F2601 #012F0F #010A2F #2F0121
square
#2F2601 #012F0F #010A2F #2F0121
split-complementary
#2F2601 #01212F #0F012F
monochromatic
#1E1801 #1E1801 #2F2601 #6B5602 #A78704

Accessibility & contrast

On white

15.02
#2F2601 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2F2601 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2601
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2601#FFFFFF#000000##FFFFFF
##2F26011.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2E2803
Tritanopia (blue-blind)
#34221F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2601;
/* rgb */ color: rgb(47, 38, 1);
/* oklch */ color: oklch(27.1% 0.054 95.1);
Tailwind
colors: {
  custom: {
    50: '#696047',
    500: '#2f2601',
    950: '#000000',
  },
}
SCSS
$custom: #2f2601;
$custom-light: #696047;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2601",
  "rgb": {
    "r": 47,
    "g": 38,
    "b": 1
  },
  "hsl": {
    "h": 48.261,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27096,
    "c": 0.05445,
    "h": 95.1
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#2F2601
secondary
#172975
accent
#53FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2F2601

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

Preview Lab → · Contrast checker → · Palette generator →

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