#271F05#271F05

#271F05 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.2% C 0.042 H 92.1°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#271F05
RGBrgb(39, 31, 5)
HSLhsl(46, 77%, 9%)
HSVhsv(46, 87%, 15%)
CMYKcmyk(0%, 20.5%, 87.2%, 84.7%)
CIE-LABlab(12.11, 0.07, 15.91)
CIE-LCHlch(12.11, 15.91, 89.75°)
OKLaboklab(24.23% -0.0016 0.0425)
OKLCHoklch(24.23% 0.042 92.1)
XYZxyz(1.3542, 1.4223, 0.3468)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271F05 #050D27
analogous
#270E05 #271F05 #1E2705
triadic
#271F05 #05271F #1F0527
tetradic
#271F05 #05270E #050D27 #27051E
square
#271F05 #05270E #050D27 #27051E
split-complementary
#271F05 #051E27 #0E0527
monochromatic
#1B1603 #1B1603 #271F05 #5D4A0C #937513

Accessibility & contrast

On white

16.35
#271F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#271F05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271F05
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271F05#FFFFFF#000000##FFFFFF
##271F051.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E03
Deuteranopia (green-blind)
#252106
Tritanopia (blue-blind)
#2B1C1A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #271f05;
/* rgb */ color: rgb(39, 31, 5);
/* oklch */ color: oklch(24.2% 0.042 92.1);
Tailwind
colors: {
  custom: {
    50: '#625a49',
    500: '#271f05',
    950: '#000000',
  },
}
SCSS
$custom: #271f05;
$custom-light: #625a49;
$custom-dark: #000000;
JSON
{
  "hex": "#271f05",
  "rgb": {
    "r": 39,
    "g": 31,
    "b": 5
  },
  "hsl": {
    "h": 45.882,
    "s": 77.273,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24234,
    "c": 0.04249,
    "h": 92.1
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#271F05
secondary
#1F3069
accent
#61F434
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050300
muted
#797877

Preview Lab

Preview with #271F05

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

Preview Lab → · Contrast checker → · Palette generator →

#271F05 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva