#F5DE58#F5DE58

#F5DE58 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.5% C 0.153 H 99.5°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F5DE58
RGBrgb(245, 222, 88)
HSLhsl(51, 89%, 65%)
HSVhsv(51, 64%, 96%)
CMYKcmyk(0%, 9.4%, 64.1%, 3.9%)
CIE-LABlab(88.14, -7.16, 66.35)
CIE-LCHlch(88.14, 66.74, 96.15°)
OKLaboklab(89.54% -0.0252 0.1505)
OKLCHoklch(89.54% 0.153 99.5)
XYZxyz(65.5417, 72.3625, 19.7456)
Luminance0.7236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE58 #586FF5
analogous
#F58F58 #F5DE58 #BEF558
triadic
#F5DE58 #58F5DE #DE58F5
tetradic
#F5DE58 #58F58F #586FF5 #F558BE
square
#F5DE58 #58F58F #586FF5 #F558BE
split-complementary
#F5DE58 #58BEF5 #8F58F5
monochromatic
#C7AB0C #F2D31E #F5DE58 #F8E992 #FCF5CB

Accessibility & contrast

On white

1.36
#F5DE58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#F5DE58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE58
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE58#FFFFFF#000000##000000
##F5DE581.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D848
Deuteranopia (green-blind)
#F8E15F
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5de58;
/* rgb */ color: rgb(245, 222, 88);
/* oklch */ color: oklch(89.5% 0.153 99.5);
Tailwind
colors: {
  custom: {
    50: '#fce78d',
    500: '#f5de58',
    950: '#000000',
  },
}
SCSS
$custom: #f5de58;
$custom-light: #fce78d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de58",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 88
  },
  "hsl": {
    "h": 51.21,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89535,
    "c": 0.15255,
    "h": 99.5
  },
  "luminance": 0.7236
}

Semantic roles & 50–950 ramp

primary
#F5DE58
secondary
#2E44C3
accent
#22E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5DE58

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

Preview Lab → · Contrast checker → · Palette generator →

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