#FDF08F#FDF08F

#FDF08F is a very light, moderate yellow. Relative luminance 0.852; OKLCH L 94.5% C 0.119 H 101.7°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#FDF08F
RGBrgb(253, 240, 143)
HSLhsl(53, 96%, 78%)
HSVhsv(53, 43%, 99%)
CMYKcmyk(0%, 5.1%, 43.5%, 0.8%)
CIE-LABlab(93.96, -8.63, 48.30)
CIE-LCHlch(93.96, 49.07, 100.13°)
OKLaboklab(94.5% -0.0241 0.1167)
OKLCHoklch(94.5% 0.119 101.7)
XYZxyz(76.6278, 85.1883, 38.3878)
Luminance0.8519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF08F #8F9CFD
analogous
#FDB98F #FDF08F #D3FD8F
triadic
#FDF08F #8FFDF0 #F08FFD
tetradic
#FDF08F #8FFDB9 #8F9CFD #FD8FD3
square
#FDF08F #8FFDB9 #8F9CFD #FD8FD3
split-complementary
#FDF08F #8FD3FD #B98FFD
monochromatic
#FBE017 #FCE853 #FDF08F #FEF8CB #FEFBE1

Accessibility & contrast

On white

1.16
#FDF08F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.04
#FDF08F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF08F
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF08F#FFFFFF#000000##000000
##FDF08F1.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA87
Deuteranopia (green-blind)
#FFF093
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf08f;
/* rgb */ color: rgb(253, 240, 143);
/* oklch */ color: oklch(94.5% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#fff4b1',
    500: '#fdf08f',
    950: '#000000',
  },
}
SCSS
$custom: #fdf08f;
$custom-light: #fff4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf08f",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 143
  },
  "hsl": {
    "h": 52.909,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.94498,
    "c": 0.11913,
    "h": 101.7
  },
  "luminance": 0.85186
}

Semantic roles & 50–950 ramp

primary
#FDF08F
secondary
#5363DE
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FDF08F

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

Preview Lab → · Contrast checker → · Palette generator →

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