#FDF070#FDF070

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

Color values

HEX#FDF070
RGBrgb(253, 240, 112)
HSLhsl(54, 97%, 72%)
HSVhsv(54, 56%, 99%)
CMYKcmyk(0%, 5.1%, 55.7%, 0.8%)
CIE-LABlab(93.61, -11.27, 62.29)
CIE-LCHlch(93.61, 63.30, 100.25°)
OKLaboklab(94.11% -0.0348 0.1447)
OKLCHoklch(94.11% 0.149 103.5)
XYZxyz(74.5952, 84.3753, 27.6828)
Luminance0.8437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF070 #707DFD
analogous
#FDAA70 #FDF070 #C4FD70
triadic
#FDF070 #70FDF0 #F070FD
tetradic
#FDF070 #70FDAA #707DFD #FD70C4
square
#FDF070 #70FDAA #707DFD #FD70C4
split-complementary
#FDF070 #70C4FD #AA70FD
monochromatic
#EFDA03 #FCEA34 #FDF070 #FEF6AC #FFFCE1

Accessibility & contrast

On white

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

On black

17.87
#FDF070 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF070
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF070#FFFFFF#000000##000000
##FDF0701.001.1717.8717.87
#FFFFFF1.171.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf070;
/* rgb */ color: rgb(253, 240, 112);
/* oklch */ color: oklch(94.1% 0.149 103.5);
Tailwind
colors: {
  custom: {
    50: '#fff49d',
    500: '#fdf070',
    950: '#000000',
  },
}
SCSS
$custom: #fdf070;
$custom-light: #fff49d;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf070",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 112
  },
  "hsl": {
    "h": 54.468,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94106,
    "c": 0.14882,
    "h": 103.5
  },
  "luminance": 0.84373
}

Semantic roles & 50–950 ramp

primary
#FDF070
secondary
#3847D9
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF070

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

Preview Lab → · Contrast checker → · Palette generator →

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