#291F01#291F01

#291F01 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.4% C 0.048 H 90.7°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#291F01
RGBrgb(41, 31, 1)
HSLhsl(45, 95%, 8%)
HSVhsv(45, 98%, 16%)
CMYKcmyk(0%, 24.4%, 97.6%, 83.9%)
CIE-LABlab(12.31, 0.83, 17.86)
CIE-LCHlch(12.31, 17.88, 87.35°)
OKLaboklab(24.44% -0.0006 0.0485)
OKLCHoklch(24.44% 0.048 90.7)
XYZxyz(1.4100, 1.4537, 0.2350)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F01 #010B29
analogous
#290B01 #291F01 #1F2901
triadic
#291F01 #01291F #1F0129
tetradic
#291F01 #01290B #010B29 #29011F
square
#291F01 #01290B #010B29 #29011F
split-complementary
#291F01 #011F29 #0B0129
monochromatic
#1E1701 #1E1701 #291F01 #654C02 #A07904

Accessibility & contrast

On white

16.27
#291F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#291F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F01
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F01#FFFFFF#000000##FFFFFF
##291F011.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F00
Deuteranopia (green-blind)
#272102
Tritanopia (blue-blind)
#2D1B19
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #291f01;
/* rgb */ color: rgb(41, 31, 1);
/* oklch */ color: oklch(24.4% 0.048 90.7);
Tailwind
colors: {
  custom: {
    50: '#645a47',
    500: '#291f01',
    950: '#000000',
  },
}
SCSS
$custom: #291f01;
$custom-light: #645a47;
$custom-dark: #000000;
JSON
{
  "hex": "#291f01",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 1
  },
  "hsl": {
    "h": 45,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24438,
    "c": 0.04849,
    "h": 90.7
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#291F01
secondary
#162D6F
accent
#5EFF29
background
#F6F5F3
surface
#EBE9E5
border
#C6C5C1
text
#050300
muted
#7A7877

Preview Lab

Preview with #291F01

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

Preview Lab → · Contrast checker → · Palette generator →

#291F01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva