#FDF275#FDF275

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

Color values

HEX#FDF275
RGBrgb(253, 242, 117)
HSLhsl(55, 97%, 73%)
HSVhsv(55, 54%, 99%)
CMYKcmyk(0%, 4.3%, 53.8%, 0.8%)
CIE-LABlab(94.17, -11.87, 60.70)
CIE-LCHlch(94.17, 61.85, 101.07°)
OKLaboklab(94.57% -0.036 0.1418)
OKLCHoklch(94.57% 0.146 104.2)
XYZxyz(75.4733, 85.6737, 29.3872)
Luminance0.8567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF275 #7580FD
analogous
#FDAE75 #FDF275 #C4FD75
triadic
#FDF275 #75FDF2 #F275FD
tetradic
#FDF275 #75FDAE #7580FD #FD75C4
square
#FDF275 #75FDAE #7580FD #FD75C4
split-complementary
#FDF275 #75C4FD #AE75FD
monochromatic
#F4E104 #FCEC39 #FDF275 #FEF8B1 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF275#FFFFFF#000000##000000
##FDF2751.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)
#FFEB69
Deuteranopia (green-blind)
#FFF17B
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fdf275;
/* rgb */ color: rgb(253, 242, 117);
/* oklch */ color: oklch(94.6% 0.146 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff6a0',
    500: '#fdf275',
    950: '#000000',
  },
}
SCSS
$custom: #fdf275;
$custom-light: #fff6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf275",
  "rgb": {
    "r": 253,
    "g": 242,
    "b": 117
  },
  "hsl": {
    "h": 55.147,
    "s": 97.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94566,
    "c": 0.14633,
    "h": 104.2
  },
  "luminance": 0.85671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FDF275

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

Preview Lab → · Contrast checker → · Palette generator →

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