#FDF768#FDF768

#FDF768 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.4% C 0.162 H 106.8°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#FDF768
RGBrgb(253, 247, 104)
HSLhsl(58, 97%, 70%)
HSVhsv(58, 59%, 99%)
CMYKcmyk(0%, 2.4%, 58.9%, 0.8%)
CIE-LABlab(95.33, -15.25, 67.65)
CIE-LCHlch(95.33, 69.35, 102.70°)
OKLaboklab(95.45% -0.047 0.1552)
OKLCHoklch(95.45% 0.162 106.8)
XYZxyz(76.2699, 88.4060, 26.1405)
Luminance0.8840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF768 #686EFD
analogous
#FDAD68 #FDF768 #B8FD68
triadic
#FDF768 #68FDF7 #F768FD
tetradic
#FDF768 #68FDAD #686EFD #FD68B8
square
#FDF768 #68FDAD #686EFD #FD68B8
split-complementary
#FDF768 #68B8FD #AD68FD
monochromatic
#E8DE03 #FCF42C #FDF768 #FEFAA4 #FFFDE1

Accessibility & contrast

On white

1.12
#FDF768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.68
#FDF768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF768
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF768#FFFFFF#000000##000000
##FDF7681.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE58
Deuteranopia (green-blind)
#FFF470
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf768;
/* rgb */ color: rgb(253, 247, 104);
/* oklch */ color: oklch(95.4% 0.162 106.8);
Tailwind
colors: {
  custom: {
    50: '#fff998',
    500: '#fdf768',
    950: '#000000',
  },
}
SCSS
$custom: #fdf768;
$custom-light: #fff998;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf768",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 104
  },
  "hsl": {
    "h": 57.584,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.95449,
    "c": 0.16215,
    "h": 106.8
  },
  "luminance": 0.88404
}

Semantic roles & 50–950 ramp

primary
#FDF768
secondary
#3138D8
accent
#09E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF768

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

Preview Lab → · Contrast checker → · Palette generator →

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