#FDF98E#FDF98E

#FDF98E is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.3% C 0.129 H 106.7°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#FDF98E
RGBrgb(253, 249, 142)
HSLhsl(58, 97%, 77%)
HSVhsv(58, 44%, 99%)
CMYKcmyk(0%, 1.6%, 43.9%, 0.8%)
CIE-LABlab(96.24, -13.15, 51.61)
CIE-LCHlch(96.24, 53.26, 104.30°)
OKLaboklab(96.3% -0.0372 0.124)
OKLCHoklch(96.3% 0.129 106.7)
XYZxyz(79.2678, 90.5890, 38.8957)
Luminance0.9059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF98E #8E92FD
analogous
#FDC28E #FDF98E #C9FD8E
triadic
#FDF98E #8EFDF9 #F98EFD
tetradic
#FDF98E #8EFDC2 #8E92FD #FD8EC9
square
#FDF98E #8EFDC2 #8E92FD #FD8EC9
split-complementary
#FDF98E #8EC9FD #C28EFD
monochromatic
#FBF316 #FCF652 #FDF98E #FEFCCA #FEFDE1

Accessibility & contrast

On white

1.10
#FDF98E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.12
#FDF98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF98E
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF98E#FFFFFF#000000##000000
##FDF98E1.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF285
Deuteranopia (green-blind)
#FFF693
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fdf98e;
/* rgb */ color: rgb(253, 249, 142);
/* oklch */ color: oklch(96.3% 0.129 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffbb1',
    500: '#fdf98e',
    950: '#000000',
  },
}
SCSS
$custom: #fdf98e;
$custom-light: #fffbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf98e",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 142
  },
  "hsl": {
    "h": 57.838,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.96301,
    "c": 0.12946,
    "h": 106.7
  },
  "luminance": 0.90587
}

Semantic roles & 50–950 ramp

primary
#FDF98E
secondary
#5257DD
accent
#08E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF98E

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

Preview Lab → · Contrast checker → · Palette generator →

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