#FDF18E#FDF18E

#FDF18E is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.7% C 0.121 H 102.3°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#FDF18E
RGBrgb(253, 241, 142)
HSLhsl(54, 97%, 77%)
HSVhsv(54, 44%, 99%)
CMYKcmyk(0%, 4.7%, 43.9%, 0.8%)
CIE-LABlab(94.20, -9.22, 49.09)
CIE-LCHlch(94.20, 49.95, 100.64°)
OKLaboklab(94.68% -0.0259 0.1184)
OKLCHoklch(94.68% 0.121 102.3)
XYZxyz(76.8475, 85.7485, 38.0890)
Luminance0.8575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF18E #8E9AFD
analogous
#FDBA8E #FDF18E #D1FD8E
triadic
#FDF18E #8EFDF1 #F18EFD
tetradic
#FDF18E #8EFDBA #8E9AFD #FD8ED1
square
#FDF18E #8EFDBA #8E9AFD #FD8ED1
split-complementary
#FDF18E #8ED1FD #BA8EFD
monochromatic
#FBE216 #FCEA52 #FDF18E #FEF8CA #FEFBE1

Accessibility & contrast

On white

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

On black

18.15
#FDF18E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF18E
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF18E#FFFFFF#000000##000000
##FDF18E1.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB86
Deuteranopia (green-blind)
#FFF192
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf18e;
/* rgb */ color: rgb(253, 241, 142);
/* oklch */ color: oklch(94.7% 0.121 102.3);
Tailwind
colors: {
  custom: {
    50: '#fff5b0',
    500: '#fdf18e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf18e;
$custom-light: #fff5b0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf18e",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 142
  },
  "hsl": {
    "h": 53.514,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.94684,
    "c": 0.12115,
    "h": 102.3
  },
  "luminance": 0.85746
}

Semantic roles & 50–950 ramp

primary
#FDF18E
secondary
#5261DD
accent
#19E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181711
muted
#868581

Preview Lab

Preview with #FDF18E

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

Preview Lab → · Contrast checker → · Palette generator →

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