#F5DE68#F5DE68

#F5DE68 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.7% C 0.140 H 98.4°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F5DE68
RGBrgb(245, 222, 104)
HSLhsl(50, 88%, 68%)
HSVhsv(50, 58%, 96%)
CMYKcmyk(0%, 9.4%, 57.6%, 3.9%)
CIE-LABlab(88.28, -6.11, 59.62)
CIE-LCHlch(88.28, 59.93, 95.86°)
OKLaboklab(89.69% -0.0204 0.1382)
OKLCHoklch(89.69% 0.14 98.4)
XYZxyz(66.2787, 72.6573, 23.6271)
Luminance0.7266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE68 #687FF5
analogous
#F59768 #F5DE68 #C5F568
triadic
#F5DE68 #68F5DE #DE68F5
tetradic
#F5DE68 #68F597 #687FF5 #F568C5
square
#F5DE68 #68F597 #687FF5 #F568C5
split-complementary
#F5DE68 #68C5F5 #9768F5
monochromatic
#D5B40E #F1D12F #F5DE68 #F9EBA1 #FDF7DB

Accessibility & contrast

On white

1.35
#F5DE68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#F5DE68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE68
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE68#FFFFFF#000000##000000
##F5DE681.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D95C
Deuteranopia (green-blind)
#F7E16E
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5de68;
/* rgb */ color: rgb(245, 222, 104);
/* oklch */ color: oklch(89.7% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#fbe897',
    500: '#f5de68',
    950: '#000000',
  },
}
SCSS
$custom: #f5de68;
$custom-light: #fbe897;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de68",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 104
  },
  "hsl": {
    "h": 50.213,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89693,
    "c": 0.13972,
    "h": 98.4
  },
  "luminance": 0.72655
}

Semantic roles & 50–950 ramp

primary
#F5DE68
secondary
#334CCE
accent
#26E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DE68

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

Preview Lab → · Contrast checker → · Palette generator →

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