#2F2501#2F2501

#2F2501 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.8% C 0.054 H 93.1°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#2F2501
RGBrgb(47, 37, 1)
HSLhsl(47, 96%, 9%)
HSVhsv(47, 98%, 18%)
CMYKcmyk(0%, 21.3%, 97.9%, 81.6%)
CIE-LABlab(15.11, 0.13, 21.71)
CIE-LCHlch(15.11, 21.71, 89.66°)
OKLaboklab(26.83% -0.0029 0.0537)
OKLCHoklch(26.83% 0.054 93.1)
XYZxyz(1.8395, 1.9298, 0.3043)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2501 #010B2F
analogous
#2F0E01 #2F2501 #222F01
triadic
#2F2501 #012F25 #25012F
tetradic
#2F2501 #012F0E #010B2F #2F0122
square
#2F2501 #012F0E #010B2F #2F0122
split-complementary
#2F2501 #01222F #0E012F
monochromatic
#1E1801 #1E1801 #2F2501 #6B5402 #A78304

Accessibility & contrast

On white

15.15
#2F2501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2F2501 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2501
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2501#FFFFFF#000000##FFFFFF
##2F25011.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2400
Deuteranopia (green-blind)
#2D2702
Tritanopia (blue-blind)
#34211E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2f2501;
/* rgb */ color: rgb(47, 37, 1);
/* oklch */ color: oklch(26.8% 0.054 93.1);
Tailwind
colors: {
  custom: {
    50: '#695f47',
    500: '#2f2501',
    950: '#000000',
  },
}
SCSS
$custom: #2f2501;
$custom-light: #695f47;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2501",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 1
  },
  "hsl": {
    "h": 46.957,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26831,
    "c": 0.05373,
    "h": 93.1
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#2F2501
secondary
#172B75
accent
#57FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2F2501

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

Preview Lab → · Contrast checker → · Palette generator →

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