#FDF762#FDF762

#FDF762 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.4% C 0.167 H 107.0°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#FDF762
RGBrgb(253, 247, 98)
HSLhsl(58, 97%, 69%)
HSVhsv(58, 61%, 99%)
CMYKcmyk(0%, 2.4%, 61.3%, 0.8%)
CIE-LABlab(95.28, -15.63, 70.07)
CIE-LCHlch(95.28, 71.79, 102.58°)
OKLaboklab(95.39% -0.0487 0.1595)
OKLCHoklch(95.39% 0.167 107)
XYZxyz(75.9759, 88.2884, 24.5921)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF762 #6268FD
analogous
#FDAA62 #FDF762 #B6FD62
triadic
#FDF762 #62FDF7 #F762FD
tetradic
#FDF762 #62FDAA #6268FD #FD62B6
square
#FDF762 #62FDAA #6268FD #FD62B6
split-complementary
#FDF762 #62B6FD #AA62FD
monochromatic
#E2D903 #FCF426 #FDF762 #FEFA9E #FFFDDB

Accessibility & contrast

On white

1.13
#FDF762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#FDF762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF762
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF762#FFFFFF#000000##000000
##FDF7621.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE50
Deuteranopia (green-blind)
#FFF46B
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fdf762;
/* rgb */ color: rgb(253, 247, 98);
/* oklch */ color: oklch(95.4% 0.167 107.0);
Tailwind
colors: {
  custom: {
    50: '#fff995',
    500: '#fdf762',
    950: '#000000',
  },
}
SCSS
$custom: #fdf762;
$custom-light: #fff995;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf762",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 98
  },
  "hsl": {
    "h": 57.677,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.95394,
    "c": 0.1668,
    "h": 107
  },
  "luminance": 0.88286
}

Semantic roles & 50–950 ramp

primary
#FDF762
secondary
#2C33D7
accent
#09E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF762

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

Preview Lab → · Contrast checker → · Palette generator →

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