#272D01#272D01

#272D01 is a dark, moderate yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.064 H 117.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#272D01
RGBrgb(39, 45, 1)
HSLhsl(68, 96%, 9%)
HSVhsv(68, 98%, 18%)
CMYKcmyk(13.3%, 0%, 97.8%, 82.4%)
CIE-LABlab(17.04, -9.61, 23.93)
CIE-LCHlch(17.04, 25.79, 111.88°)
OKLaboklab(28.15% -0.0295 0.0568)
OKLCHoklch(28.15% 0.064 117.4)
XYZxyz(1.7806, 2.3103, 0.3808)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D01 #07012D
analogous
#2D1D01 #272D01 #112D01
triadic
#272D01 #01272D #2D0127
tetradic
#272D01 #012D1D #07012D #2D0111
square
#272D01 #012D1D #07012D #2D0111
split-complementary
#272D01 #01112D #1D012D
monochromatic
#1A1E01 #1A1E01 #272D01 #5B6902 #8FA504

Accessibility & contrast

On white

14.36
#272D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#272D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D01
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D01#FFFFFF#000000##FFFFFF
##272D011.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#302A04
Tritanopia (blue-blind)
#2A2A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #272d01;
/* rgb */ color: rgb(39, 45, 1);
/* oklch */ color: oklch(28.2% 0.064 117.4);
Tailwind
colors: {
  custom: {
    50: '#626547',
    500: '#272d01',
    950: '#000000',
  },
}
SCSS
$custom: #272d01;
$custom-light: #626547;
$custom-dark: #000000;
JSON
{
  "hex": "#272d01",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 68.182,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.28154,
    "c": 0.06396,
    "h": 117.4
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#272D01
secondary
#231773
accent
#29FF46
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050500
muted
#797A77

Preview Lab

Preview with #272D01

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

Preview Lab → · Contrast checker → · Palette generator →

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