#271E00#271E00

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

Color values

HEX#271E00
RGBrgb(39, 30, 0)
HSLhsl(46, 100%, 8%)
HSVhsv(46, 100%, 15%)
CMYKcmyk(0%, 23.1%, 100%, 84.7%)
CIE-LABlab(11.69, 0.26, 17.38)
CIE-LCHlch(11.69, 17.38, 89.14°)
OKLaboklab(23.88% -0.0024 0.0488)
OKLCHoklch(23.88% 0.049 92.8)
XYZxyz(1.3011, 1.3600, 0.1940)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E00 #000927
analogous
#270B00 #271E00 #1C2700
triadic
#271E00 #00271E #1E0027
tetradic
#271E00 #00270B #000927 #27001C
square
#271E00 #00270B #000927 #27001C
split-complementary
#271E00 #001C27 #0B0027
monochromatic
#1F1800 #1F1800 #271E00 #644D00 #A17C00

Accessibility & contrast

On white

16.51
#271E00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271E00
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E00#FFFFFF#000000##FFFFFF
##271E001.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271e00;
/* rgb */ color: rgb(39, 30, 0);
/* oklch */ color: oklch(23.9% 0.049 92.8);
Tailwind
colors: {
  custom: {
    50: '#625946',
    500: '#271e00',
    950: '#000000',
  },
}
SCSS
$custom: #271e00;
$custom-light: #625946;
$custom-dark: #000000;
JSON
{
  "hex": "#271e00",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 0
  },
  "hsl": {
    "h": 46.154,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23882,
    "c": 0.04889,
    "h": 92.8
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#271E00
secondary
#14296F
accent
#5AFF29
background
#F5F5F3
surface
#EAE9E5
border
#C6C5C1
text
#050300
muted
#797877

Preview Lab

Preview with #271E00

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

Preview Lab → · Contrast checker → · Palette generator →

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