#FFFF72#FFFF72

#FFFF72 is a very light, vivid yellow. Relative luminance 0.940; OKLCH L 97.3% C 0.162 H 109.1°. Best body text is #000000 at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#FFFF72
RGBrgb(255, 255, 114)
HSLhsl(60, 100%, 72%)
HSVhsv(60, 55%, 100%)
CMYKcmyk(0%, 0%, 55.3%, 0%)
CIE-LABlab(97.63, -17.62, 66.00)
CIE-LCHlch(97.63, 68.31, 104.95°)
OKLaboklab(97.35% -0.0528 0.1528)
OKLCHoklch(97.35% 0.162 109.1)
XYZxyz(80.0395, 93.9970, 29.8433)
Luminance0.9399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFF72 #7272FF
analogous
#FFB972 #FFFF72 #B9FF72
triadic
#FFFF72 #72FFFF #FF72FF
tetradic
#FFFF72 #72FFB9 #7272FF #FF72B9
square
#FFFF72 #72FFB9 #7272FF #FF72B9
split-complementary
#FFFF72 #72B9FF #B972FF
monochromatic
#F7F700 #FFFF35 #FFFF72 #FFFFAF #FFFFE0

Accessibility & contrast

On white

1.06
#FFFF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.80
#FFFF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFF72
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFF72#FFFFFF#000000##000000
##FFFF721.001.0619.8019.80
#FFFFFF1.061.0021.0021.00
#00000019.8021.001.001.00
##00000019.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF663
Deuteranopia (green-blind)
#FFFB7A
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #ffff72;
/* rgb */ color: rgb(255, 255, 114);
/* oklch */ color: oklch(97.3% 0.162 109.1);
Tailwind
colors: {
  custom: {
    50: '#ffff9f',
    500: '#ffff72',
    950: '#000000',
  },
}
SCSS
$custom: #ffff72;
$custom-light: #ffff9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ffff72",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 114
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.97348,
    "c": 0.16171,
    "h": 109.1
  },
  "luminance": 0.93995
}

Semantic roles & 50–950 ramp

primary
#FFFF72
secondary
#3939DC
accent
#00E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFFF72

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

Preview Lab → · Contrast checker → · Palette generator →

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