#272704#272704

#272704 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.5% C 0.052 H 109.5°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#272704
RGBrgb(39, 39, 4)
HSLhsl(60, 81%, 8%)
HSVhsv(60, 90%, 15%)
CMYKcmyk(0%, 0%, 89.7%, 84.7%)
CIE-LABlab(14.91, -5.49, 20.03)
CIE-LCHlch(14.91, 20.77, 105.34°)
OKLaboklab(26.45% -0.0175 0.0495)
OKLCHoklch(26.45% 0.052 109.5)
XYZxyz(1.5842, 1.8912, 0.3964)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272704 #040427
analogous
#271504 #272704 #152704
triadic
#272704 #042727 #270427
tetradic
#272704 #042715 #040427 #270415
square
#272704 #042715 #040427 #270415
split-complementary
#272704 #041527 #150427
monochromatic
#1C1C03 #1C1C03 #272704 #5F5F0A #96960F

Accessibility & contrast

On white

15.24
#272704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#272704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272704
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272704#FFFFFF#000000##FFFFFF
##2727041.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2501
Deuteranopia (green-blind)
#2B2606
Tritanopia (blue-blind)
#2B2420
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #272704;
/* rgb */ color: rgb(39, 39, 4);
/* oklch */ color: oklch(26.5% 0.052 109.5);
Tailwind
colors: {
  custom: {
    50: '#626048',
    500: '#272704',
    950: '#000000',
  },
}
SCSS
$custom: #272704;
$custom-light: #626048;
$custom-dark: #000000;
JSON
{
  "hex": "#272704",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 4
  },
  "hsl": {
    "h": 60,
    "s": 81.395,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26454,
    "c": 0.05246,
    "h": 109.5
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#272704
secondary
#1D1D6A
accent
#30F830
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050500
muted
#797977

Preview Lab

Preview with #272704

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

Preview Lab → · Contrast checker → · Palette generator →

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