#FDF273#FDF273

#FDF273 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.148 H 104.3°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#FDF273
RGBrgb(253, 242, 115)
HSLhsl(55, 97%, 72%)
HSVhsv(55, 55%, 99%)
CMYKcmyk(0%, 4.3%, 54.5%, 0.8%)
CIE-LABlab(94.15, -12.03, 61.57)
CIE-LCHlch(94.15, 62.74, 101.05°)
OKLaboklab(94.54% -0.0366 0.1435)
OKLCHoklch(94.54% 0.148 104.3)
XYZxyz(75.3570, 85.6272, 28.7745)
Luminance0.8562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF273 #737EFD
analogous
#FDAD73 #FDF273 #C3FD73
triadic
#FDF273 #73FDF2 #F273FD
tetradic
#FDF273 #73FDAD #737EFD #FD73C3
square
#FDF273 #73FDAD #737EFD #FD73C3
split-complementary
#FDF273 #73C3FD #AD73FD
monochromatic
#F2DF03 #FCEC37 #FDF273 #FEF8AF #FFFCE1

Accessibility & contrast

On white

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

On black

18.13
#FDF273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF273
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF273#FFFFFF#000000##000000
##FDF2731.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB66
Deuteranopia (green-blind)
#FFF179
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf273;
/* rgb */ color: rgb(253, 242, 115);
/* oklch */ color: oklch(94.5% 0.148 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff69f',
    500: '#fdf273',
    950: '#000000',
  },
}
SCSS
$custom: #fdf273;
$custom-light: #fff69f;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf273",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 115
  },
  "hsl": {
    "h": 55.217,
    "s": 97.183,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94544,
    "c": 0.1481,
    "h": 104.3
  },
  "luminance": 0.85625
}

Semantic roles & 50–950 ramp

primary
#FDF273
secondary
#3B47DA
accent
#12E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF273

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

Preview Lab → · Contrast checker → · Palette generator →

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