#FDF182#FDF182

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

Color values

HEX#FDF182
RGBrgb(253, 241, 130)
HSLhsl(54, 97%, 75%)
HSVhsv(54, 49%, 99%)
CMYKcmyk(0%, 4.7%, 48.6%, 0.8%)
CIE-LABlab(94.06, -10.32, 54.61)
CIE-LCHlch(94.06, 55.57, 100.70°)
OKLaboklab(94.52% -0.0302 0.1298)
OKLCHoklch(94.52% 0.133 103.1)
XYZxyz(75.9946, 85.4073, 33.5969)
Luminance0.8540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF182 #828EFD
analogous
#FDB382 #FDF182 #CCFD82
triadic
#FDF182 #82FDF1 #F182FD
tetradic
#FDF182 #82FDB3 #828EFD #FD82CC
square
#FDF182 #82FDB3 #828EFD #FD82CC
split-complementary
#FDF182 #82CCFD #B382FD
monochromatic
#FBE40A #FCEA46 #FDF182 #FEF8BE #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF182#FFFFFF#000000##000000
##FDF1821.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)
#FFEA78
Deuteranopia (green-blind)
#FFF187
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf182;
/* rgb */ color: rgb(253, 241, 130);
/* oklch */ color: oklch(94.5% 0.133 103.1);
Tailwind
colors: {
  custom: {
    50: '#fff5a9',
    500: '#fdf182',
    950: '#000000',
  },
}
SCSS
$custom: #fdf182;
$custom-light: #fff5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf182",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 130
  },
  "hsl": {
    "h": 54.146,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94521,
    "c": 0.13322,
    "h": 103.1
  },
  "luminance": 0.85405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF182

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

Preview Lab → · Contrast checker → · Palette generator →

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