#272804#272804

#272804 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.7% C 0.054 H 111.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#272804
RGBrgb(39, 40, 4)
HSLhsl(62, 82%, 9%)
HSVhsv(62, 90%, 16%)
CMYKcmyk(2.5%, 0%, 90%, 84.3%)
CIE-LABlab(15.26, -6.15, 20.49)
CIE-LCHlch(15.26, 21.39, 106.70°)
OKLaboklab(26.74% -0.0193 0.0502)
OKLCHoklch(26.74% 0.054 111.1)
XYZxyz(1.6175, 1.9577, 0.4075)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272804 #050428
analogous
#281704 #272804 #152804
triadic
#272804 #042728 #280427
tetradic
#272804 #042817 #050428 #280415
square
#272804 #042817 #050428 #280415
split-complementary
#272804 #041528 #170428
monochromatic
#1B1C03 #1B1C03 #272804 #5D600A #93970F

Accessibility & contrast

On white

15.09
#272804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#272804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272804
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272804#FFFFFF#000000##FFFFFF
##2728041.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2601
Deuteranopia (green-blind)
#2C2706
Tritanopia (blue-blind)
#2A2521
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #272804;
/* rgb */ color: rgb(39, 40, 4);
/* oklch */ color: oklch(26.7% 0.054 111.1);
Tailwind
colors: {
  custom: {
    50: '#626148',
    500: '#272804',
    950: '#000000',
  },
}
SCSS
$custom: #272804;
$custom-light: #626148;
$custom-dark: #000000;
JSON
{
  "hex": "#272804",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 61.667,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26741,
    "c": 0.05376,
    "h": 111.1
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#272804
secondary
#1F1D6B
accent
#30F835
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050500
muted
#797977

Preview Lab

Preview with #272804

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

Preview Lab → · Contrast checker → · Palette generator →

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