#FDF072#FDF072

#FDF072 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.1% C 0.147 H 103.4°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#FDF072
RGBrgb(253, 240, 114)
HSLhsl(54, 97%, 72%)
HSVhsv(54, 55%, 99%)
CMYKcmyk(0%, 5.1%, 54.9%, 0.8%)
CIE-LABlab(93.63, -11.12, 61.42)
CIE-LCHlch(93.63, 62.42, 100.26°)
OKLaboklab(94.13% -0.0341 0.1431)
OKLCHoklch(94.13% 0.147 103.4)
XYZxyz(74.7078, 84.4203, 28.2758)
Luminance0.8442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF072 #727FFD
analogous
#FDAA72 #FDF072 #C5FD72
triadic
#FDF072 #72FDF0 #F072FD
tetradic
#FDF072 #72FDAA #727FFD #FD72C5
square
#FDF072 #72FDAA #727FFD #FD72C5
split-complementary
#FDF072 #72C5FD #AA72FD
monochromatic
#F1DB03 #FCEA36 #FDF072 #FEF6AE #FFFCE1

Accessibility & contrast

On white

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

On black

17.88
#FDF072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF072
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF072#FFFFFF#000000##000000
##FDF0721.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.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: #fdf072;
/* rgb */ color: rgb(253, 240, 114);
/* oklch */ color: oklch(94.1% 0.147 103.4);
Tailwind
colors: {
  custom: {
    50: '#fff49e',
    500: '#fdf072',
    950: '#000000',
  },
}
SCSS
$custom: #fdf072;
$custom-light: #fff49e;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf072",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 114
  },
  "hsl": {
    "h": 54.388,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94127,
    "c": 0.14708,
    "h": 103.4
  },
  "luminance": 0.84418
}

Semantic roles & 50–950 ramp

primary
#FDF072
secondary
#3A49D9
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF072

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

Preview Lab → · Contrast checker → · Palette generator →

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