#272B01#272B01

#272B01 is a dark, moderate yellow. Relative luminance 0.022; OKLCH L 27.6% C 0.061 H 115.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#272B01
RGBrgb(39, 43, 1)
HSLhsl(66, 95%, 9%)
HSVhsv(66, 98%, 17%)
CMYKcmyk(9.3%, 0%, 97.7%, 83.1%)
CIE-LABlab(16.31, -8.36, 23.03)
CIE-LCHlch(16.31, 24.50, 109.95°)
OKLaboklab(27.57% -0.026 0.0555)
OKLCHoklch(27.57% 0.061 115.1)
XYZxyz(1.7061, 2.1613, 0.3560)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B01 #05012B
analogous
#2B1A01 #272B01 #122B01
triadic
#272B01 #01272B #2B0127
tetradic
#272B01 #012B1A #05012B #2B0112
square
#272B01 #012B1A #05012B #2B0112
split-complementary
#272B01 #01122B #1A012B
monochromatic
#1B1E01 #1B1E01 #272B01 #5D6702 #93A304

Accessibility & contrast

On white

14.66
#272B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272B01
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B01#FFFFFF#000000##FFFFFF
##272B011.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272b01;
/* rgb */ color: rgb(39, 43, 1);
/* oklch */ color: oklch(27.6% 0.061 115.1);
Tailwind
colors: {
  custom: {
    50: '#626447',
    500: '#272b01',
    950: '#000000',
  },
}
SCSS
$custom: #272b01;
$custom-light: #626447;
$custom-dark: #000000;
JSON
{
  "hex": "#272b01",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 65.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.2757,
    "c": 0.0613,
    "h": 115.1
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#272B01
secondary
#1F1771
accent
#29FF3D
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #272B01

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

Preview Lab → · Contrast checker → · Palette generator →

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