#FDF276#FDF276

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

Color values

HEX#FDF276
RGBrgb(253, 242, 118)
HSLhsl(55, 97%, 73%)
HSVhsv(55, 53%, 99%)
CMYKcmyk(0%, 4.3%, 53.4%, 0.8%)
CIE-LABlab(94.18, -11.80, 60.27)
CIE-LCHlch(94.18, 61.41, 101.08°)
OKLaboklab(94.58% -0.0357 0.141)
OKLCHoklch(94.58% 0.145 104.2)
XYZxyz(75.5324, 85.6974, 29.6985)
Luminance0.8569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF276 #7681FD
analogous
#FDAE76 #FDF276 #C5FD76
triadic
#FDF276 #76FDF2 #F276FD
tetradic
#FDF276 #76FDAE #7681FD #FD76C5
square
#FDF276 #76FDAE #7681FD #FD76C5
split-complementary
#FDF276 #76C5FD #AE76FD
monochromatic
#F5E104 #FCEC3A #FDF276 #FEF8B2 #FFFCE1

Accessibility & contrast

On white

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

On black

18.14
#FDF276 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF276
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF276#FFFFFF#000000##000000
##FDF2761.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf276;
/* rgb */ color: rgb(253, 242, 118);
/* oklch */ color: oklch(94.6% 0.145 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff6a1',
    500: '#fdf276',
    950: '#000000',
  },
}
SCSS
$custom: #fdf276;
$custom-light: #fff6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf276",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 118
  },
  "hsl": {
    "h": 55.111,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94577,
    "c": 0.14543,
    "h": 104.2
  },
  "luminance": 0.85695
}

Semantic roles & 50–950 ramp

primary
#FDF276
secondary
#3D4ADA
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF276

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

Preview Lab → · Contrast checker → · Palette generator →

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