#FDF175#FDF175

#FDF175 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.145 H 103.8°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#FDF175
RGBrgb(253, 241, 117)
HSLhsl(55, 97%, 73%)
HSVhsv(55, 54%, 99%)
CMYKcmyk(0%, 4.7%, 53.8%, 0.8%)
CIE-LABlab(93.92, -11.38, 60.41)
CIE-LCHlch(93.92, 61.47, 100.67°)
OKLaboklab(94.36% -0.0346 0.1412)
OKLCHoklch(94.36% 0.145 103.8)
XYZxyz(75.1765, 85.0801, 29.2883)
Luminance0.8508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF175 #7581FD
analogous
#FDAD75 #FDF175 #C5FD75
triadic
#FDF175 #75FDF1 #F175FD
tetradic
#FDF175 #75FDAD #7581FD #FD75C5
square
#FDF175 #75FDAD #7581FD #FD75C5
split-complementary
#FDF175 #75C5FD #AD75FD
monochromatic
#F4DF04 #FCEB39 #FDF175 #FEF7B1 #FFFCE1

Accessibility & contrast

On white

1.17
#FDF175 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#FDF175 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF175
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF175#FFFFFF#000000##000000
##FDF1751.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA69
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fdf175;
/* rgb */ color: rgb(253, 241, 117);
/* oklch */ color: oklch(94.4% 0.145 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff5a0',
    500: '#fdf175',
    950: '#000000',
  },
}
SCSS
$custom: #fdf175;
$custom-light: #fff5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf175",
  "rgb": {
    "r": 253,
    "g": 241,
    "b": 117
  },
  "hsl": {
    "h": 54.706,
    "s": 97.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94363,
    "c": 0.14537,
    "h": 103.8
  },
  "luminance": 0.85078
}

Semantic roles & 50–950 ramp

primary
#FDF175
secondary
#3C4ADA
accent
#14E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF175

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

Preview Lab → · Contrast checker → · Palette generator →

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