#F5DF68#F5DF68

#F5DF68 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.9% C 0.141 H 99.0°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#F5DF68
RGBrgb(245, 223, 104)
HSLhsl(51, 88%, 68%)
HSVhsv(51, 58%, 96%)
CMYKcmyk(0%, 9%, 57.6%, 3.9%)
CIE-LABlab(88.54, -6.62, 59.90)
CIE-LCHlch(88.54, 60.27, 96.30°)
OKLaboklab(89.89% -0.0219 0.1388)
OKLCHoklch(89.89% 0.141 99)
XYZxyz(66.5451, 73.1901, 23.7159)
Luminance0.7319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF68 #687EF5
analogous
#F59868 #F5DF68 #C5F568
triadic
#F5DF68 #68F5DF #DF68F5
tetradic
#F5DF68 #68F598 #687EF5 #F568C5
square
#F5DF68 #68F598 #687EF5 #F568C5
split-complementary
#F5DF68 #68C5F5 #9868F5
monochromatic
#D5B60E #F1D32F #F5DF68 #F9EBA1 #FDF7DB

Accessibility & contrast

On white

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

On black

15.64
#F5DF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF68
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF68#FFFFFF#000000##000000
##F5DF681.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA5C
Deuteranopia (green-blind)
#F8E26E
Tritanopia (blue-blind)
#FFD1C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df68;
/* rgb */ color: rgb(245, 223, 104);
/* oklch */ color: oklch(89.9% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#fbe897',
    500: '#f5df68',
    950: '#000000',
  },
}
SCSS
$custom: #f5df68;
$custom-light: #fbe897;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df68",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 104
  },
  "hsl": {
    "h": 50.638,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89894,
    "c": 0.14055,
    "h": 99
  },
  "luminance": 0.73187
}

Semantic roles & 50–950 ramp

primary
#F5DF68
secondary
#334BCE
accent
#25E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DF68

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

Preview Lab → · Contrast checker → · Palette generator →

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