#272A01#272A01

#272A01 is a dark, moderate yellow. Relative luminance 0.021; OKLCH L 27.3% C 0.060 H 113.9°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#272A01
RGBrgb(39, 42, 1)
HSLhsl(64, 95%, 8%)
HSVhsv(64, 98%, 16%)
CMYKcmyk(7.1%, 0%, 97.6%, 83.5%)
CIE-LABlab(15.95, -7.72, 22.58)
CIE-LCHlch(15.95, 23.86, 108.89°)
OKLaboklab(27.28% -0.0243 0.0549)
OKLCHoklch(27.28% 0.06 113.9)
XYZxyz(1.6702, 2.0895, 0.3440)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A01 #04012A
analogous
#2A1801 #272A01 #122A01
triadic
#272A01 #01272A #2A0127
tetradic
#272A01 #012A18 #04012A #2A0112
square
#272A01 #012A18 #04012A #2A0112
split-complementary
#272A01 #01122A #18012A
monochromatic
#1C1E01 #1C1E01 #272A01 #5F6602 #96A204

Accessibility & contrast

On white

14.81
#272A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#272A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A01
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A01#FFFFFF#000000##FFFFFF
##272A011.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2E2803
Tritanopia (blue-blind)
#2A2722
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #272a01;
/* rgb */ color: rgb(39, 42, 1);
/* oklch */ color: oklch(27.3% 0.060 113.9);
Tailwind
colors: {
  custom: {
    50: '#626347',
    500: '#272a01',
    950: '#000000',
  },
}
SCSS
$custom: #272a01;
$custom-light: #626347;
$custom-dark: #000000;
JSON
{
  "hex": "#272a01",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 64.39,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.2728,
    "c": 0.06,
    "h": 113.9
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#272A01
secondary
#1D1670
accent
#29FF38
background
#F5F5F4
surface
#EAEAE6
border
#C6C6C2
text
#050500
muted
#797977

Preview Lab

Preview with #272A01

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

Preview Lab → · Contrast checker → · Palette generator →

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