#271F06#271F06

#271F06 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.3% C 0.041 H 91.5°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#271F06
RGBrgb(39, 31, 6)
HSLhsl(45, 73%, 9%)
HSVhsv(45, 85%, 15%)
CMYKcmyk(0%, 20.5%, 84.6%, 84.7%)
CIE-LABlab(12.12, 0.17, 15.52)
CIE-LCHlch(12.12, 15.52, 89.38°)
OKLaboklab(24.25% -0.0011 0.0412)
OKLCHoklch(24.25% 0.041 91.5)
XYZxyz(1.3596, 1.4245, 0.3756)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271F06 #060E27
analogous
#270F06 #271F06 #1F2706
triadic
#271F06 #06271F #1F0627
tetradic
#271F06 #06270F #060E27 #27061F
square
#271F06 #06270F #060E27 #27061F
split-complementary
#271F06 #061F27 #0F0627
monochromatic
#1B1504 #1B1504 #271F06 #5C490E #917316

Accessibility & contrast

On white

16.34
#271F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271F06
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271F06#FFFFFF#000000##FFFFFF
##271F061.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271f06;
/* rgb */ color: rgb(39, 31, 6);
/* oklch */ color: oklch(24.3% 0.041 91.5);
Tailwind
colors: {
  custom: {
    50: '#625a49',
    500: '#271f06',
    950: '#000000',
  },
}
SCSS
$custom: #271f06;
$custom-light: #625a49;
$custom-dark: #000000;
JSON
{
  "hex": "#271f06",
  "rgb": {
    "r": 39,
    "g": 31,
    "b": 6
  },
  "hsl": {
    "h": 45.455,
    "s": 73.333,
    "l": 8.824
  },
  "oklch": {
    "l": 0.2425,
    "c": 0.04117,
    "h": 91.5
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#271F06
secondary
#213268
accent
#64F038
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050301
muted
#797877

Preview Lab

Preview with #271F06

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

Preview Lab → · Contrast checker → · Palette generator →

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