#272702#272702

#272702 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.4% C 0.055 H 109.6°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#272702
RGBrgb(39, 39, 2)
HSLhsl(60, 90%, 8%)
HSVhsv(60, 95%, 15%)
CMYKcmyk(0%, 0%, 94.9%, 84.7%)
CIE-LABlab(14.88, -5.69, 20.81)
CIE-LCHlch(14.88, 21.58, 105.28°)
OKLaboklab(26.43% -0.0185 0.0518)
OKLCHoklch(26.43% 0.055 109.6)
XYZxyz(1.5732, 1.8868, 0.3387)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272702 #020227
analogous
#271402 #272702 #142702
triadic
#272702 #022727 #270227
tetradic
#272702 #022714 #020227 #270214
square
#272702 #022714 #020227 #270214
split-complementary
#272702 #021427 #140227
monochromatic
#1D1D01 #1D1D01 #272702 #616105 #9B9B08

Accessibility & contrast

On white

15.25
#272702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#272702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272702
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272702#FFFFFF#000000##FFFFFF
##2727021.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2C2604
Tritanopia (blue-blind)
#2B2420
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #272702;
/* rgb */ color: rgb(39, 39, 2);
/* oklch */ color: oklch(26.4% 0.055 109.6);
Tailwind
colors: {
  custom: {
    50: '#626047',
    500: '#272702',
    950: '#000000',
  },
}
SCSS
$custom: #272702;
$custom-light: #626047;
$custom-dark: #000000;
JSON
{
  "hex": "#272702",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.26428,
    "c": 0.05496,
    "h": 109.6
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#272702
secondary
#18186C
accent
#29FF29
background
#F5F5F4
surface
#EAE9E6
border
#C6C5C2
text
#050500
muted
#797977

Preview Lab

Preview with #272702

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

Preview Lab → · Contrast checker → · Palette generator →

#272702 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva