#FDF181#FDF181

#FDF181 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.5% C 0.134 H 103.2°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#FDF181
RGBrgb(253, 241, 129)
HSLhsl(54, 97%, 75%)
HSVhsv(54, 49%, 99%)
CMYKcmyk(0%, 4.7%, 49%, 0.8%)
CIE-LABlab(94.05, -10.40, 55.06)
CIE-LCHlch(94.05, 56.04, 100.70°)
OKLaboklab(94.51% -0.0305 0.1307)
OKLCHoklch(94.51% 0.134 103.2)
XYZxyz(75.9278, 85.3806, 33.2451)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF181 #818DFD
analogous
#FDB381 #FDF181 #CBFD81
triadic
#FDF181 #81FDF1 #F181FD
tetradic
#FDF181 #81FDB3 #818DFD #FD81CB
square
#FDF181 #81FDB3 #818DFD #FD81CB
split-complementary
#FDF181 #81CBFD #B381FD
monochromatic
#FBE409 #FCEA45 #FDF181 #FEF8BD #FFFCE1

Accessibility & contrast

On white

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

On black

18.08
#FDF181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF181
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF181#FFFFFF#000000##000000
##FDF1811.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA77
Deuteranopia (green-blind)
#FFF186
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf181;
/* rgb */ color: rgb(253, 241, 129);
/* oklch */ color: oklch(94.5% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#fff5a8',
    500: '#fdf181',
    950: '#000000',
  },
}
SCSS
$custom: #fdf181;
$custom-light: #fff5a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf181",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 129
  },
  "hsl": {
    "h": 54.194,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94508,
    "c": 0.13419,
    "h": 103.2
  },
  "luminance": 0.85378
}

Semantic roles & 50–950 ramp

primary
#FDF181
secondary
#4755DC
accent
#16E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF181

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

Preview Lab → · Contrast checker → · Palette generator →

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