#FDF186#FDF186

#FDF186 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.6% C 0.129 H 102.9°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#FDF186
RGBrgb(253, 241, 134)
HSLhsl(54, 97%, 76%)
HSVhsv(54, 47%, 99%)
CMYKcmyk(0%, 4.7%, 47%, 0.8%)
CIE-LABlab(94.11, -9.96, 52.78)
CIE-LCHlch(94.11, 53.72, 100.69°)
OKLaboklab(94.57% -0.0288 0.126)
OKLCHoklch(94.57% 0.129 102.9)
XYZxyz(76.2683, 85.5168, 35.0385)
Luminance0.8551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF186 #8692FD
analogous
#FDB586 #FDF186 #CDFD86
triadic
#FDF186 #86FDF1 #F186FD
tetradic
#FDF186 #86FDB5 #8692FD #FD86CD
square
#FDF186 #86FDB5 #8692FD #FD86CD
split-complementary
#FDF186 #86CDFD #B586FD
monochromatic
#FBE30E #FCEA4A #FDF186 #FEF8C2 #FFFCE1

Accessibility & contrast

On white

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

On black

18.10
#FDF186 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF186
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF186#FFFFFF#000000##000000
##FDF1861.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf186;
/* rgb */ color: rgb(253, 241, 134);
/* oklch */ color: oklch(94.6% 0.129 102.9);
Tailwind
colors: {
  custom: {
    50: '#fff5ab',
    500: '#fdf186',
    950: '#000000',
  },
}
SCSS
$custom: #fdf186;
$custom-light: #fff5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf186",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 134
  },
  "hsl": {
    "h": 53.95,
    "s": 96.748,
    "l": 75.882
  },
  "oklch": {
    "l": 0.94573,
    "c": 0.12929,
    "h": 102.9
  },
  "luminance": 0.85514
}

Semantic roles & 50–950 ramp

primary
#FDF186
secondary
#4B5ADC
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF186

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

Preview Lab → · Contrast checker → · Palette generator →

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