#FDF08B#FDF08B

#FDF08B is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.123 H 102.0°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#FDF08B
RGBrgb(253, 240, 139)
HSLhsl(53, 97%, 77%)
HSVhsv(53, 45%, 99%)
CMYKcmyk(0%, 5.1%, 45.1%, 0.8%)
CIE-LABlab(93.91, -9.01, 50.17)
CIE-LCHlch(93.91, 50.97, 100.18°)
OKLaboklab(94.44% -0.0256 0.1206)
OKLCHoklch(94.44% 0.123 102)
XYZxyz(76.3301, 85.0693, 36.8203)
Luminance0.8507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF08B #8B98FD
analogous
#FDB78B #FDF08B #D1FD8B
triadic
#FDF08B #8BFDF0 #F08BFD
tetradic
#FDF08B #8BFDB7 #8B98FD #FD8BD1
square
#FDF08B #8BFDB7 #8B98FD #FD8BD1
split-complementary
#FDF08B #8BD1FD #B78BFD
monochromatic
#FBE013 #FCE84F #FDF08B #FEF8C7 #FEFBE1

Accessibility & contrast

On white

1.17
#FDF08B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#FDF08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF08B
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF08B#FFFFFF#000000##000000
##FDF08B1.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA83
Deuteranopia (green-blind)
#FFF08F
Tritanopia (blue-blind)
#FFE4D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf08b;
/* rgb */ color: rgb(253, 240, 139);
/* oklch */ color: oklch(94.4% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#fff4ae',
    500: '#fdf08b',
    950: '#000000',
  },
}
SCSS
$custom: #fdf08b;
$custom-light: #fff4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf08b",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 139
  },
  "hsl": {
    "h": 53.158,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9444,
    "c": 0.12325,
    "h": 102
  },
  "luminance": 0.85067
}

Semantic roles & 50–950 ramp

primary
#FDF08B
secondary
#4F5FDD
accent
#1AE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FDF08B

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

Preview Lab → · Contrast checker → · Palette generator →

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