#272B04#272B04

#272B04 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.6% C 0.058 H 115.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#272B04
RGBrgb(39, 43, 4)
HSLhsl(66, 83%, 9%)
HSVhsv(66, 91%, 17%)
CMYKcmyk(9.3%, 0%, 90.7%, 83.1%)
CIE-LABlab(16.34, -8.08, 21.85)
CIE-LCHlch(16.34, 23.30, 110.30°)
OKLaboklab(27.61% -0.0247 0.0523)
OKLCHoklch(27.61% 0.058 115.3)
XYZxyz(1.7225, 2.1679, 0.4425)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B04 #08042B
analogous
#2B1C04 #272B04 #142B04
triadic
#272B04 #04272B #2B0427
tetradic
#272B04 #042B1C #08042B #2B0414
square
#272B04 #042B1C #08042B #2B0414
split-complementary
#272B04 #04142B #1C042B
monochromatic
#191C03 #191C03 #272B04 #5A6309 #8D9B0E

Accessibility & contrast

On white

14.65
#272B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#272B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B04
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B04#FFFFFF#000000##FFFFFF
##272B041.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#2A2823
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272b04;
/* rgb */ color: rgb(39, 43, 4);
/* oklch */ color: oklch(27.6% 0.058 115.3);
Tailwind
colors: {
  custom: {
    50: '#626449',
    500: '#272b04',
    950: '#000000',
  },
}
SCSS
$custom: #272b04;
$custom-light: #626449;
$custom-dark: #000000;
JSON
{
  "hex": "#272b04",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 66.154,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.27607,
    "c": 0.05783,
    "h": 115.3
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#272B04
secondary
#251D6E
accent
#2EF943
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #272B04

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

Preview Lab → · Contrast checker → · Palette generator →

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