#FDF279#FDF279

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

Color values

HEX#FDF279
RGBrgb(253, 242, 121)
HSLhsl(55, 97%, 73%)
HSVhsv(55, 52%, 99%)
CMYKcmyk(0%, 4.3%, 52.2%, 0.8%)
CIE-LABlab(94.21, -11.56, 58.95)
CIE-LCHlch(94.21, 60.07, 101.10°)
OKLaboklab(94.61% -0.0347 0.1384)
OKLCHoklch(94.61% 0.143 104.1)
XYZxyz(75.7136, 85.7698, 30.6524)
Luminance0.8577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF279 #7984FD
analogous
#FDB079 #FDF279 #C6FD79
triadic
#FDF279 #79FDF2 #F279FD
tetradic
#FDF279 #79FDB0 #7984FD #FD79C6
square
#FDF279 #79FDB0 #7984FD #FD79C6
split-complementary
#FDF279 #79C6FD #B079FD
monochromatic
#F8E404 #FCEC3D #FDF279 #FEF8B5 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF279#FFFFFF#000000##000000
##FDF2791.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)
#FFEB6E
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE4D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf279;
/* rgb */ color: rgb(253, 242, 121);
/* oklch */ color: oklch(94.6% 0.143 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fdf279',
    950: '#000000',
  },
}
SCSS
$custom: #fdf279;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf279",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 121
  },
  "hsl": {
    "h": 55,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94612,
    "c": 0.14271,
    "h": 104.1
  },
  "luminance": 0.85767
}

Semantic roles & 50–950 ramp

primary
#FDF279
secondary
#404DDA
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF279

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

Preview Lab → · Contrast checker → · Palette generator →

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