#FDF272#FDF272

#FDF272 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.149 H 104.4°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FDF272
RGBrgb(253, 242, 114)
HSLhsl(55, 97%, 72%)
HSVhsv(55, 55%, 99%)
CMYKcmyk(0%, 4.3%, 54.9%, 0.8%)
CIE-LABlab(94.14, -12.10, 62.01)
CIE-LCHlch(94.14, 63.18, 101.04°)
OKLaboklab(94.53% -0.037 0.1443)
OKLCHoklch(94.53% 0.149 104.4)
XYZxyz(75.2998, 85.6043, 28.4731)
Luminance0.8560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF272 #727DFD
analogous
#FDAD72 #FDF272 #C3FD72
triadic
#FDF272 #72FDF2 #F272FD
tetradic
#FDF272 #72FDAD #727DFD #FD72C3
square
#FDF272 #72FDAD #727DFD #FD72C3
split-complementary
#FDF272 #72C3FD #AD72FD
monochromatic
#F1DE03 #FCEC36 #FDF272 #FEF8AE #FFFCE1

Accessibility & contrast

On white

1.16
#FDF272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#FDF272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF272
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF272#FFFFFF#000000##000000
##FDF2721.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf272;
/* rgb */ color: rgb(253, 242, 114);
/* oklch */ color: oklch(94.5% 0.149 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff69e',
    500: '#fdf272',
    950: '#000000',
  },
}
SCSS
$custom: #fdf272;
$custom-light: #fff69e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf272",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 55.252,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94533,
    "c": 0.14898,
    "h": 104.4
  },
  "luminance": 0.85602
}

Semantic roles & 50–950 ramp

primary
#FDF272
secondary
#3A46D9
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF272

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

Preview Lab → · Contrast checker → · Palette generator →

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