#2F2901#2F2901

#2F2901 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.057 H 100.6°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#2F2901
RGBrgb(47, 41, 1)
HSLhsl(52, 96%, 9%)
HSVhsv(52, 98%, 18%)
CMYKcmyk(0%, 12.8%, 97.9%, 81.6%)
CIE-LABlab(16.47, -2.58, 23.41)
CIE-LCHlch(16.47, 23.55, 96.29°)
OKLaboklab(27.9% -0.0105 0.056)
OKLCHoklch(27.9% 0.057 100.6)
XYZxyz(1.9708, 2.1925, 0.3481)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2901 #01072F
analogous
#2F1201 #2F2901 #1E2F01
triadic
#2F2901 #012F29 #29012F
tetradic
#2F2901 #012F12 #01072F #2F011E
square
#2F2901 #012F12 #01072F #2F011E
split-complementary
#2F2901 #011E2F #12012F
monochromatic
#1E1A01 #1E1A01 #2F2901 #6B5D02 #A79204

Accessibility & contrast

On white

14.60
#2F2901 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2F2901 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2901
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2901#FFFFFF#000000##FFFFFF
##2F29011.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#302A03
Tritanopia (blue-blind)
#342521
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2f2901;
/* rgb */ color: rgb(47, 41, 1);
/* oklch */ color: oklch(27.9% 0.057 100.6);
Tailwind
colors: {
  custom: {
    50: '#696247',
    500: '#2f2901',
    950: '#000000',
  },
}
SCSS
$custom: #2f2901;
$custom-light: #696247;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2901",
  "rgb": {
    "r": 47,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 52.174,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27902,
    "c": 0.057,
    "h": 100.6
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#2F2901
secondary
#172375
accent
#45FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2F2901

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

Preview Lab → · Contrast checker → · Palette generator →

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