#271E03#271E03

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

Color values

HEX#271E03
RGBrgb(39, 30, 3)
HSLhsl(45, 86%, 8%)
HSVhsv(45, 92%, 15%)
CMYKcmyk(0%, 23.1%, 92.3%, 84.7%)
CIE-LABlab(11.73, 0.57, 16.22)
CIE-LCHlch(11.73, 16.23, 87.99°)
OKLaboklab(23.93% -0.0006 0.0445)
OKLCHoklch(23.93% 0.044 90.8)
XYZxyz(1.3175, 1.3665, 0.2805)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271E03 #030C27
analogous
#270C03 #271E03 #1E2703
triadic
#271E03 #03271E #1E0327
tetradic
#271E03 #03270C #030C27 #27031E
square
#271E03 #03270C #030C27 #27031E
split-complementary
#271E03 #031E27 #0C0327
monochromatic
#1C1602 #1C1602 #271E03 #604A07 #99750C

Accessibility & contrast

On white

16.49
#271E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271E03
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271E03#FFFFFF#000000##FFFFFF
##271E031.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271e03;
/* rgb */ color: rgb(39, 30, 3);
/* oklch */ color: oklch(23.9% 0.044 90.8);
Tailwind
colors: {
  custom: {
    50: '#625948',
    500: '#271e03',
    950: '#000000',
  },
}
SCSS
$custom: #271e03;
$custom-light: #625948;
$custom-dark: #000000;
JSON
{
  "hex": "#271e03",
  "rgb": {
    "r": 39,
    "g": 30,
    "b": 3
  },
  "hsl": {
    "h": 45,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.23931,
    "c": 0.04447,
    "h": 90.8
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#271E03
secondary
#1B2F6B
accent
#60FC2C
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050300
muted
#797877

Preview Lab

Preview with #271E03

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

Preview Lab → · Contrast checker → · Palette generator →

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