#272C04#272C04

#272C04 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.059 H 116.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#272C04
RGBrgb(39, 44, 4)
HSLhsl(68, 83%, 9%)
HSVhsv(68, 91%, 17%)
CMYKcmyk(11.4%, 0%, 90.9%, 82.7%)
CIE-LABlab(16.71, -8.71, 22.30)
CIE-LCHlch(16.71, 23.94, 111.35°)
OKLaboklab(27.9% -0.0264 0.053)
OKLCHoklch(27.9% 0.059 116.5)
XYZxyz(1.7593, 2.2415, 0.4548)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C04 #09042C
analogous
#2C1D04 #272C04 #132C04
triadic
#272C04 #04272C #2C0427
tetradic
#272C04 #042C1D #09042C #2C0413
square
#272C04 #042C1D #09042C #2C0413
split-complementary
#272C04 #04132C #1D042C
monochromatic
#191C03 #191C03 #272C04 #596409 #8A9C0E

Accessibility & contrast

On white

14.50
#272C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#272C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C04
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C04#FFFFFF#000000##FFFFFF
##272C041.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302900
Deuteranopia (green-blind)
#2F2A07
Tritanopia (blue-blind)
#2A2924
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #272c04;
/* rgb */ color: rgb(39, 44, 4);
/* oklch */ color: oklch(27.9% 0.059 116.5);
Tailwind
colors: {
  custom: {
    50: '#626549',
    500: '#272c04',
    950: '#000000',
  },
}
SCSS
$custom: #272c04;
$custom-light: #626549;
$custom-dark: #000000;
JSON
{
  "hex": "#272c04",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 67.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27898,
    "c": 0.05922,
    "h": 116.5
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#272C04
secondary
#271D6F
accent
#2EFA48
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #272C04

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

Preview Lab → · Contrast checker → · Palette generator →

#272C04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva