#FDF68F#FDF68F

#FDF68F is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.7% C 0.125 H 105.1°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#FDF68F
RGBrgb(253, 246, 143)
HSLhsl(56, 96%, 78%)
HSVhsv(56, 43%, 99%)
CMYKcmyk(0%, 2.8%, 43.5%, 0.8%)
CIE-LABlab(95.49, -11.59, 50.20)
CIE-LCHlch(95.49, 51.52, 103.00°)
OKLaboklab(95.71% -0.0326 0.1209)
OKLCHoklch(95.71% 0.125 105.1)
XYZxyz(78.4233, 88.7794, 38.9863)
Luminance0.8878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF68F #8F96FD
analogous
#FDBF8F #FDF68F #CDFD8F
triadic
#FDF68F #8FFDF6 #F68FFD
tetradic
#FDF68F #8FFDBF #8F96FD #FD8FCD
square
#FDF68F #8FFDBF #8F96FD #FD8FCD
split-complementary
#FDF68F #8FCDFD #BF8FFD
monochromatic
#FBEC17 #FCF153 #FDF68F #FEFBCB #FEFDE1

Accessibility & contrast

On white

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

On black

18.76
#FDF68F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF68F
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF68F#FFFFFF#000000##000000
##FDF68F1.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF87
Deuteranopia (green-blind)
#FFF494
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fdf68f;
/* rgb */ color: rgb(253, 246, 143);
/* oklch */ color: oklch(95.7% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff9b1',
    500: '#fdf68f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf68f;
$custom-light: #fff9b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf68f",
  "rgb": {
    "r": 253,
    "g": 246,
    "b": 143
  },
  "hsl": {
    "h": 56.182,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.95707,
    "c": 0.12524,
    "h": 105.1
  },
  "luminance": 0.88777
}

Semantic roles & 50–950 ramp

primary
#FDF68F
secondary
#535BDE
accent
#0FE600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF68F

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

Preview Lab → · Contrast checker → · Palette generator →

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