#FDF278#FDF278

#FDF278 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.6% C 0.144 H 104.1°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#FDF278
RGBrgb(253, 242, 120)
HSLhsl(55, 97%, 73%)
HSVhsv(55, 53%, 99%)
CMYKcmyk(0%, 4.3%, 52.6%, 0.8%)
CIE-LABlab(94.20, -11.64, 59.39)
CIE-LCHlch(94.20, 60.52, 101.09°)
OKLaboklab(94.6% -0.035 0.1393)
OKLCHoklch(94.6% 0.144 104.1)
XYZxyz(75.6526, 85.7454, 30.3311)
Luminance0.8574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF278 #7883FD
analogous
#FDB078 #FDF278 #C5FD78
triadic
#FDF278 #78FDF2 #F278FD
tetradic
#FDF278 #78FDB0 #7883FD #FD78C5
square
#FDF278 #78FDB0 #7883FD #FD78C5
split-complementary
#FDF278 #78C5FD #B078FD
monochromatic
#F7E304 #FCEC3C #FDF278 #FEF8B4 #FFFCE1

Accessibility & contrast

On white

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

On black

18.15
#FDF278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF278
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF278#FFFFFF#000000##000000
##FDF2781.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf278;
/* rgb */ color: rgb(253, 242, 120);
/* oklch */ color: oklch(94.6% 0.144 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a2',
    500: '#fdf278',
    950: '#000000',
  },
}
SCSS
$custom: #fdf278;
$custom-light: #fff6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf278",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 55.038,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.946,
    "c": 0.14362,
    "h": 104.1
  },
  "luminance": 0.85743
}

Semantic roles & 50–950 ramp

primary
#FDF278
secondary
#3F4CDA
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF278

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

Preview Lab → · Contrast checker → · Palette generator →

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