#271E01#271E01

#271E01 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.9% C 0.047 H 92.2°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#271E01
RGBrgb(39, 30, 1)
HSLhsl(46, 95%, 8%)
HSVhsv(46, 97%, 15%)
CMYKcmyk(0%, 23.1%, 97.4%, 84.7%)
CIE-LABlab(11.70, 0.36, 16.99)
CIE-LCHlch(11.70, 17.00, 88.78°)
OKLaboklab(23.9% -0.0018 0.0473)
OKLCHoklch(23.9% 0.047 92.2)
XYZxyz(1.3065, 1.3622, 0.2228)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E01 #010A27
analogous
#270B01 #271E01 #1D2701
triadic
#271E01 #01271E #1E0127
tetradic
#271E01 #01270B #010A27 #27011D
square
#271E01 #01270B #010A27 #27011D
split-complementary
#271E01 #011D27 #0B0127
monochromatic
#1E1701 #1E1701 #271E01 #634C03 #9E7A04

Accessibility & contrast

On white

16.50
#271E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#271E01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271E01
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E01#FFFFFF#000000##FFFFFF
##271E011.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231D00
Deuteranopia (green-blind)
#252002
Tritanopia (blue-blind)
#2B1A18
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #271e01;
/* rgb */ color: rgb(39, 30, 1);
/* oklch */ color: oklch(23.9% 0.047 92.2);
Tailwind
colors: {
  custom: {
    50: '#625947',
    500: '#271e01',
    950: '#000000',
  },
}
SCSS
$custom: #271e01;
$custom-light: #625947;
$custom-dark: #000000;
JSON
{
  "hex": "#271e01",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 1
  },
  "hsl": {
    "h": 45.789,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.23898,
    "c": 0.04737,
    "h": 92.2
  },
  "luminance": 0.01362
}

Semantic roles & 50–950 ramp

primary
#271E01
secondary
#162B6E
accent
#5CFF29
background
#F5F5F3
surface
#EAE9E5
border
#C6C5C1
text
#050300
muted
#797877

Preview Lab

Preview with #271E01

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

Preview Lab → · Contrast checker → · Palette generator →

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