#FDF374#FDF374

#FDF374 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.148 H 104.8°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#FDF374
RGBrgb(253, 243, 116)
HSLhsl(56, 97%, 72%)
HSVhsv(56, 54%, 99%)
CMYKcmyk(0%, 4%, 54.2%, 0.8%)
CIE-LABlab(94.42, -12.44, 61.43)
CIE-LCHlch(94.42, 62.68, 101.45°)
OKLaboklab(94.76% -0.0377 0.1433)
OKLCHoklch(94.76% 0.148 104.8)
XYZxyz(75.7133, 86.2472, 29.1787)
Luminance0.8625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF374 #747EFD
analogous
#FDAE74 #FDF374 #C3FD74
triadic
#FDF374 #74FDF3 #F374FD
tetradic
#FDF374 #74FDAE #747EFD #FD74C3
square
#FDF374 #74FDAE #747EFD #FD74C3
split-complementary
#FDF374 #74C3FD #AE74FD
monochromatic
#F3E203 #FCEE38 #FDF374 #FEF8B0 #FFFCE1

Accessibility & contrast

On white

1.15
#FDF374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.25
#FDF374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF374
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF374#FFFFFF#000000##000000
##FDF3741.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FFF27A
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fdf374;
/* rgb */ color: rgb(253, 243, 116);
/* oklch */ color: oklch(94.8% 0.148 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff6a0',
    500: '#fdf374',
    950: '#000000',
  },
}
SCSS
$custom: #fdf374;
$custom-light: #fff6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf374",
  "rgb": {
    "r": 253,
    "g": 243,
    "b": 116
  },
  "hsl": {
    "h": 55.62,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94758,
    "c": 0.14818,
    "h": 104.8
  },
  "luminance": 0.86245
}

Semantic roles & 50–950 ramp

primary
#FDF374
secondary
#3B47DA
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FDF374

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

Preview Lab → · Contrast checker → · Palette generator →

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