#FDF064#FDF064

#FDF064 is a very light, vivid yellow. Relative luminance 0.841; OKLCH L 94.0% C 0.159 H 104.0°. Best body text is #000000 at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#FDF064
RGBrgb(253, 240, 100)
HSLhsl(55, 97%, 69%)
HSVhsv(55, 60%, 99%)
CMYKcmyk(0%, 5.1%, 60.5%, 0.8%)
CIE-LABlab(93.50, -12.09, 67.33)
CIE-LCHlch(93.50, 68.41, 100.18°)
OKLaboklab(93.99% -0.0384 0.154)
OKLCHoklch(93.99% 0.159 104)
XYZxyz(73.9710, 84.1256, 24.3955)
Luminance0.8412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF064 #6471FD
analogous
#FDA464 #FDF064 #BEFD64
triadic
#FDF064 #64FDF0 #F064FD
tetradic
#FDF064 #64FDA4 #6471FD #FD64BE
square
#FDF064 #64FDA4 #6471FD #FD64BE
split-complementary
#FDF064 #64BEFD #A464FD
monochromatic
#E4D103 #FCEA28 #FDF064 #FEF6A0 #FFFCDD

Accessibility & contrast

On white

1.18
#FDF064 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.82
#FDF064 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF064
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF064#FFFFFF#000000##000000
##FDF0641.001.1817.8217.82
#FFFFFF1.181.0021.0021.00
#00000017.8221.001.001.00
##00000017.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE854
Deuteranopia (green-blind)
#FFEF6C
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fdf064;
/* rgb */ color: rgb(253, 240, 100);
/* oklch */ color: oklch(94.0% 0.159 104.0);
Tailwind
colors: {
  custom: {
    50: '#fff495',
    500: '#fdf064',
    950: '#000000',
  },
}
SCSS
$custom: #fdf064;
$custom-light: #fff495;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf064",
  "rgb": {
    "r": 253,
    "g": 240,
    "b": 100
  },
  "hsl": {
    "h": 54.902,
    "s": 97.452,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93985,
    "c": 0.15872,
    "h": 104
  },
  "luminance": 0.84123
}

Semantic roles & 50–950 ramp

primary
#FDF064
secondary
#2E3CD7
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FDF064

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

Preview Lab → · Contrast checker → · Palette generator →

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