#272C06#272C06

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

Color values

HEX#272C06
RGBrgb(39, 44, 6)
HSLhsl(68, 76%, 10%)
HSVhsv(68, 86%, 17%)
CMYKcmyk(11.4%, 0%, 86.4%, 82.7%)
CIE-LABlab(16.73, -8.53, 21.51)
CIE-LCHlch(16.73, 23.14, 111.63°)
OKLaboklab(27.92% -0.0256 0.051)
OKLCHoklch(27.92% 0.057 116.7)
XYZxyz(1.7703, 2.2459, 0.5125)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C06 #0B062C
analogous
#2C1E06 #272C06 #142C06
triadic
#272C06 #06272C #2C0627
tetradic
#272C06 #062C1E #0B062C #2C0614
square
#272C06 #062C1E #0B062C #2C0614
split-complementary
#272C06 #06142C #1E062C
monochromatic
#181B04 #181B04 #272C06 #57620D #869815

Accessibility & contrast

On white

14.49
#272C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272C06
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C06#FFFFFF#000000##FFFFFF
##272C061.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272c06;
/* rgb */ color: rgb(39, 44, 6);
/* oklch */ color: oklch(27.9% 0.057 116.7);
Tailwind
colors: {
  custom: {
    50: '#62654a',
    500: '#272c06',
    950: '#000000',
  },
}
SCSS
$custom: #272c06;
$custom-light: #62654a;
$custom-dark: #000000;
JSON
{
  "hex": "#272c06",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 6
  },
  "hsl": {
    "h": 67.895,
    "s": 76,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27921,
    "c": 0.05704,
    "h": 116.7
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#272C06
secondary
#2B216D
accent
#35F34E
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #272C06

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

Preview Lab → · Contrast checker → · Palette generator →

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