#FDF274#FDF274

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

Color values

HEX#FDF274
RGBrgb(253, 242, 116)
HSLhsl(55, 97%, 72%)
HSVhsv(55, 54%, 99%)
CMYKcmyk(0%, 4.3%, 54.2%, 0.8%)
CIE-LABlab(94.16, -11.95, 61.14)
CIE-LCHlch(94.16, 62.30, 101.06°)
OKLaboklab(94.56% -0.0363 0.1427)
OKLCHoklch(94.56% 0.147 104.3)
XYZxyz(75.4149, 85.6503, 29.0792)
Luminance0.8565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF274 #747FFD
analogous
#FDAD74 #FDF274 #C4FD74
triadic
#FDF274 #74FDF2 #F274FD
tetradic
#FDF274 #74FDAD #747FFD #FD74C4
square
#FDF274 #74FDAD #747FFD #FD74C4
split-complementary
#FDF274 #74C4FD #AD74FD
monochromatic
#F3E003 #FCEC38 #FDF274 #FEF8B0 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF274#FFFFFF#000000##000000
##FDF2741.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)
#FFEB68
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf274;
/* rgb */ color: rgb(253, 242, 116);
/* oklch */ color: oklch(94.6% 0.147 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff69f',
    500: '#fdf274',
    950: '#000000',
  },
}
SCSS
$custom: #fdf274;
$custom-light: #fff69f;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf274",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 116
  },
  "hsl": {
    "h": 55.182,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94555,
    "c": 0.14722,
    "h": 104.3
  },
  "luminance": 0.85648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF274

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

Preview Lab → · Contrast checker → · Palette generator →

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