#F5DF64#F5DF64

#F5DF64 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.9% C 0.144 H 99.2°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#F5DF64
RGBrgb(245, 223, 100)
HSLhsl(51, 88%, 68%)
HSVhsv(51, 59%, 96%)
CMYKcmyk(0%, 9%, 59.2%, 3.9%)
CIE-LABlab(88.50, -6.90, 61.63)
CIE-LCHlch(88.50, 62.02, 96.38°)
OKLaboklab(89.85% -0.0231 0.1421)
OKLCHoklch(89.85% 0.144 99.2)
XYZxyz(66.3467, 73.1107, 22.6711)
Luminance0.7311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF64 #647AF5
analogous
#F59764 #F5DF64 #C2F564
triadic
#F5DF64 #64F5DF #DF64F5
tetradic
#F5DF64 #64F597 #647AF5 #F564C2
square
#F5DF64 #64F597 #647AF5 #F564C2
split-complementary
#F5DF64 #64C2F5 #9764F5
monochromatic
#D1B30D #F1D32B #F5DF64 #F9EB9D #FCF7D7

Accessibility & contrast

On white

1.34
#F5DF64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#F5DF64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF64
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF64#FFFFFF#000000##000000
##F5DF641.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D957
Deuteranopia (green-blind)
#F8E26A
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df64;
/* rgb */ color: rgb(245, 223, 100);
/* oklch */ color: oklch(89.9% 0.144 99.2);
Tailwind
colors: {
  custom: {
    50: '#fbe894',
    500: '#f5df64',
    950: '#000000',
  },
}
SCSS
$custom: #f5df64;
$custom-light: #fbe894;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df64",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 100
  },
  "hsl": {
    "h": 50.897,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89852,
    "c": 0.14393,
    "h": 99.2
  },
  "luminance": 0.73108
}

Semantic roles & 50–950 ramp

primary
#F5DF64
secondary
#3148CC
accent
#24E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5DF64

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

Preview Lab → · Contrast checker → · Palette generator →

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