#272C07#272C07

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

Color values

HEX#272C07
RGBrgb(39, 44, 7)
HSLhsl(68, 73%, 10%)
HSVhsv(68, 84%, 17%)
CMYKcmyk(11.4%, 0%, 84.1%, 82.7%)
CIE-LABlab(16.74, -8.44, 21.12)
CIE-LCHlch(16.74, 22.74, 111.79°)
OKLaboklab(27.93% -0.0252 0.05)
OKLCHoklch(27.93% 0.056 116.8)
XYZxyz(1.7758, 2.2481, 0.5413)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C07 #0C072C
analogous
#2C1E07 #272C07 #152C07
triadic
#272C07 #07272C #2C0727
tetradic
#272C07 #072C1E #0C072C #2C0715
square
#272C07 #072C1E #0C072C #2C0715
split-complementary
#272C07 #07152C #1E072C
monochromatic
#171A04 #171A04 #272C07 #56610F #859618

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272C07#FFFFFF#000000##FFFFFF
##272C071.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)
#302903
Deuteranopia (green-blind)
#2F2A0A
Tritanopia (blue-blind)
#2A2925
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #272c07;
/* rgb */ color: rgb(39, 44, 7);
/* oklch */ color: oklch(27.9% 0.056 116.8);
Tailwind
colors: {
  custom: {
    50: '#62654a',
    500: '#272c07',
    950: '#000000',
  },
}
SCSS
$custom: #272c07;
$custom-light: #62654a;
$custom-dark: #000000;
JSON
{
  "hex": "#272c07",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 68.108,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.27933,
    "c": 0.05597,
    "h": 116.8
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#272C07
secondary
#2D236C
accent
#39EF51
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050501
muted
#797A77

Preview Lab

Preview with #272C07

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

Preview Lab → · Contrast checker → · Palette generator →

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