#291F00#291F00

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

Color values

HEX#291F00
RGBrgb(41, 31, 0)
HSLhsl(45, 100%, 8%)
HSVhsv(45, 100%, 16%)
CMYKcmyk(0%, 24.4%, 100%, 83.9%)
CIE-LABlab(12.30, 0.73, 18.25)
CIE-LCHlch(12.30, 18.27, 87.71°)
OKLaboklab(24.42% -0.0012 0.0499)
OKLCHoklch(24.42% 0.05 91.4)
XYZxyz(1.4045, 1.4515, 0.2062)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F00 #000A29
analogous
#290A00 #291F00 #1E2900
triadic
#291F00 #00291F #1F0029
tetradic
#291F00 #00290A #000A29 #29001E
square
#291F00 #00290A #000A29 #29001E
split-complementary
#291F00 #001E29 #0A0029
monochromatic
#1F1700 #1F1700 #291F00 #664D00 #A37C00

Accessibility & contrast

On white

16.28
#291F00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291F00
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F00#FFFFFF#000000##FFFFFF
##291F001.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#272101
Tritanopia (blue-blind)
#2E1B19
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #291f00;
/* rgb */ color: rgb(41, 31, 0);
/* oklch */ color: oklch(24.4% 0.050 91.4);
Tailwind
colors: {
  custom: {
    50: '#645a46',
    500: '#291f00',
    950: '#000000',
  },
}
SCSS
$custom: #291f00;
$custom-light: #645a46;
$custom-dark: #000000;
JSON
{
  "hex": "#291f00",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 0
  },
  "hsl": {
    "h": 45.366,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24422,
    "c": 0.04993,
    "h": 91.4
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#291F00
secondary
#142B71
accent
#5DFF29
background
#F6F5F3
surface
#EBE9E5
border
#C6C5C1
text
#050300
muted
#7A7877

Preview Lab

Preview with #291F00

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

Preview Lab → · Contrast checker → · Palette generator →

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