#FFF072#FFF072

#FFF072 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.3% C 0.147 H 102.6°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#FFF072
RGBrgb(255, 240, 114)
HSLhsl(54, 100%, 72%)
HSVhsv(54, 55%, 100%)
CMYKcmyk(0%, 5.9%, 55.3%, 0%)
CIE-LABlab(93.80, -10.32, 61.65)
CIE-LCHlch(93.80, 62.51, 99.50°)
OKLaboklab(94.3% -0.032 0.1435)
OKLCHoklch(94.3% 0.147 102.6)
XYZxyz(75.4399, 84.7978, 28.3101)
Luminance0.8479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF072 #7281FF
analogous
#FFAA72 #FFF072 #C8FF72
triadic
#FFF072 #72FFF0 #F072FF
tetradic
#FFF072 #72FFAA #7281FF #FF72C8
square
#FFF072 #72FFAA #7281FF #FF72C8
split-complementary
#FFF072 #72C8FF #AA72FF
monochromatic
#F7DC00 #FFE935 #FFF072 #FFF7AF #FFFCE0

Accessibility & contrast

On white

1.17
#FFF072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.96
#FFF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF072
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF072#FFFFFF#000000##000000
##FFF0721.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fff072;
/* rgb */ color: rgb(255, 240, 114);
/* oklch */ color: oklch(94.3% 0.147 102.6);
Tailwind
colors: {
  custom: {
    50: '#fff49e',
    500: '#fff072',
    950: '#000000',
  },
}
SCSS
$custom: #fff072;
$custom-light: #fff49e;
$custom-dark: #000000;
JSON
{
  "hex": "#fff072",
  "rgb": {
    "r": 255,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 53.617,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94296,
    "c": 0.14704,
    "h": 102.6
  },
  "luminance": 0.84795
}

Semantic roles & 50–950 ramp

primary
#FFF072
secondary
#394ADC
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FFF072

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

Preview Lab → · Contrast checker → · Palette generator →

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