#2F2701#2F2701

#2F2701 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.055 H 97.0°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#2F2701
RGBrgb(47, 39, 1)
HSLhsl(50, 96%, 9%)
HSVhsv(50, 98%, 18%)
CMYKcmyk(0%, 17%, 97.9%, 81.6%)
CIE-LABlab(15.79, -1.23, 22.56)
CIE-LCHlch(15.79, 22.60, 93.13°)
OKLaboklab(27.36% -0.0067 0.0548)
OKLCHoklch(27.36% 0.055 97)
XYZxyz(1.9034, 2.0577, 0.3256)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2701 #01092F
analogous
#2F1001 #2F2701 #202F01
triadic
#2F2701 #012F27 #27012F
tetradic
#2F2701 #012F10 #01092F #2F0120
square
#2F2701 #012F10 #01092F #2F0120
split-complementary
#2F2701 #01202F #10012F
monochromatic
#1E1901 #1E1901 #2F2701 #6B5902 #A78A04

Accessibility & contrast

On white

14.88
#2F2701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2F2701 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2701
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2701#FFFFFF#000000##FFFFFF
##2F27011.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2E2803
Tritanopia (blue-blind)
#342320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2f2701;
/* rgb */ color: rgb(47, 39, 1);
/* oklch */ color: oklch(27.4% 0.055 97.0);
Tailwind
colors: {
  custom: {
    50: '#696047',
    500: '#2f2701',
    950: '#000000',
  },
}
SCSS
$custom: #2f2701;
$custom-light: #696047;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2701",
  "rgb": {
    "r": 47,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 49.565,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27363,
    "c": 0.05524,
    "h": 97
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#2F2701
secondary
#172775
accent
#4EFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2701

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

Preview Lab → · Contrast checker → · Palette generator →

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