#FDF962#FDF962

#FDF962 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.8% C 0.169 H 107.8°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#FDF962
RGBrgb(253, 249, 98)
HSLhsl(58, 97%, 69%)
HSVhsv(58, 61%, 99%)
CMYKcmyk(0%, 1.6%, 61.3%, 0.8%)
CIE-LABlab(95.80, -16.60, 70.62)
CIE-LCHlch(95.80, 72.54, 103.23°)
OKLaboklab(95.8% -0.0514 0.1607)
OKLCHoklch(95.8% 0.169 107.8)
XYZxyz(76.5908, 89.5182, 24.7971)
Luminance0.8952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF962 #6266FD
analogous
#FDAC62 #FDF962 #B4FD62
triadic
#FDF962 #62FDF9 #F962FD
tetradic
#FDF962 #62FDAC #6266FD #FD62B4
square
#FDF962 #62FDAC #6266FD #FD62B4
split-complementary
#FDF962 #62B4FD #AC62FD
monochromatic
#E2DC03 #FCF726 #FDF962 #FEFB9E #FFFEDB

Accessibility & contrast

On white

1.11
#FDF962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.90
#FDF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF962
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF962#FFFFFF#000000##000000
##FDF9621.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04F
Deuteranopia (green-blind)
#FFF66B
Tritanopia (blue-blind)
#FFEAD9
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fdf962;
/* rgb */ color: rgb(253, 249, 98);
/* oklch */ color: oklch(95.8% 0.169 107.8);
Tailwind
colors: {
  custom: {
    50: '#fffb95',
    500: '#fdf962',
    950: '#000000',
  },
}
SCSS
$custom: #fdf962;
$custom-light: #fffb95;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf962",
  "rgb": {
    "r": 253,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 58.452,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.95804,
    "c": 0.16872,
    "h": 107.8
  },
  "luminance": 0.89516
}

Semantic roles & 50–950 ramp

primary
#FDF962
secondary
#2C30D7
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF962

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

Preview Lab → · Contrast checker → · Palette generator →

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