#FDF387#FDF387

#FDF387 is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 95.0% C 0.130 H 103.9°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FDF387
RGBrgb(253, 243, 135)
HSLhsl(55, 97%, 76%)
HSVhsv(55, 47%, 99%)
CMYKcmyk(0%, 4%, 46.6%, 0.8%)
CIE-LABlab(94.63, -10.86, 52.94)
CIE-LCHlch(94.63, 54.05, 101.59°)
OKLaboklab(94.99% -0.0313 0.1265)
OKLCHoklch(94.99% 0.13 103.9)
XYZxyz(76.9337, 86.7354, 35.6060)
Luminance0.8673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF387 #8791FD
analogous
#FDB887 #FDF387 #CCFD87
triadic
#FDF387 #87FDF3 #F387FD
tetradic
#FDF387 #87FDB8 #8791FD #FD87CC
square
#FDF387 #87FDB8 #8791FD #FD87CC
split-complementary
#FDF387 #87CCFD #B887FD
monochromatic
#FBE70F #FCED4B #FDF387 #FEF9C3 #FEFCE1

Accessibility & contrast

On white

1.14
#FDF387 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#FDF387 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF387
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF387#FFFFFF#000000##000000
##FDF3871.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFF28C
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fdf387;
/* rgb */ color: rgb(253, 243, 135);
/* oklch */ color: oklch(95.0% 0.130 103.9);
Tailwind
colors: {
  custom: {
    50: '#fff6ac',
    500: '#fdf387',
    950: '#000000',
  },
}
SCSS
$custom: #fdf387;
$custom-light: #fff6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf387",
  "rgb": {
    "r": 253,
    "g": 243,
    "b": 135
  },
  "hsl": {
    "h": 54.915,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9499,
    "c": 0.13028,
    "h": 103.9
  },
  "luminance": 0.86733
}

Semantic roles & 50–950 ramp

primary
#FDF387
secondary
#4C58DC
accent
#13E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF387

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

Preview Lab → · Contrast checker → · Palette generator →

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