#272C01#272C01

#272C01 is a dark, moderate yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.063 H 116.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#272C01
RGBrgb(39, 44, 1)
HSLhsl(67, 96%, 9%)
HSVhsv(67, 98%, 17%)
CMYKcmyk(11.4%, 0%, 97.7%, 82.7%)
CIE-LABlab(16.67, -8.99, 23.48)
CIE-LCHlch(16.67, 25.14, 110.95°)
OKLaboklab(27.86% -0.0278 0.0561)
OKLCHoklch(27.86% 0.063 116.3)
XYZxyz(1.7429, 2.2349, 0.3683)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C01 #06012C
analogous
#2C1C01 #272C01 #122C01
triadic
#272C01 #01272C #2C0127
tetradic
#272C01 #012C1C #06012C #2C0112
square
#272C01 #012C1C #06012C #2C0112
split-complementary
#272C01 #01122C #1C012C
monochromatic
#1B1E01 #1B1E01 #272C01 #5C6802 #91A404

Accessibility & contrast

On white

14.51
#272C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272C01
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C01#FFFFFF#000000##FFFFFF
##272C011.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272c01;
/* rgb */ color: rgb(39, 44, 1);
/* oklch */ color: oklch(27.9% 0.063 116.3);
Tailwind
colors: {
  custom: {
    50: '#626547',
    500: '#272c01',
    950: '#000000',
  },
}
SCSS
$custom: #272c01;
$custom-light: #626547;
$custom-dark: #000000;
JSON
{
  "hex": "#272c01",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 1
  },
  "hsl": {
    "h": 66.977,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27862,
    "c": 0.06262,
    "h": 116.3
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#272C01
secondary
#211772
accent
#29FF42
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #272C01

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

Preview Lab → · Contrast checker → · Palette generator →

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