#272004#272004

#272004 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.5% C 0.045 H 95.3°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#272004
RGBrgb(39, 32, 4)
HSLhsl(48, 81%, 8%)
HSVhsv(48, 90%, 15%)
CMYKcmyk(0%, 17.9%, 89.7%, 84.7%)
CIE-LABlab(12.44, -0.73, 16.77)
CIE-LCHlch(12.44, 16.78, 92.51°)
OKLaboklab(24.49% -0.0041 0.0445)
OKLCHoklch(24.49% 0.045 95.3)
XYZxyz(1.3752, 1.4732, 0.3268)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272004 #040B27
analogous
#270E04 #272004 #1C2704
triadic
#272004 #042720 #200427
tetradic
#272004 #04270E #040B27 #27041C
square
#272004 #04270E #040B27 #27041C
split-complementary
#272004 #041C27 #0E0427
monochromatic
#1C1703 #1C1703 #272004 #5F4E0A #967B0F

Accessibility & contrast

On white

16.22
#272004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#272004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272004
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272004#FFFFFF#000000##FFFFFF
##2720041.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F02
Deuteranopia (green-blind)
#262105
Tritanopia (blue-blind)
#2B1D1A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #272004;
/* rgb */ color: rgb(39, 32, 4);
/* oklch */ color: oklch(24.5% 0.045 95.3);
Tailwind
colors: {
  custom: {
    50: '#625b48',
    500: '#272004',
    950: '#000000',
  },
}
SCSS
$custom: #272004;
$custom-light: #625b48;
$custom-dark: #000000;
JSON
{
  "hex": "#272004",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 48,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24491,
    "c": 0.04468,
    "h": 95.3
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#272004
secondary
#1D2C6A
accent
#58F830
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050400
muted
#797977

Preview Lab

Preview with #272004

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

Preview Lab → · Contrast checker → · Palette generator →

#272004 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva