#F5D758#F5D758

#F5D758 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.147 H 95.9°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#F5D758
RGBrgb(245, 215, 88)
HSLhsl(49, 89%, 65%)
HSVhsv(49, 64%, 96%)
CMYKcmyk(0%, 12.2%, 64.1%, 3.9%)
CIE-LABlab(86.37, -3.62, 64.46)
CIE-LCHlch(86.37, 64.56, 93.22°)
OKLaboklab(88.13% -0.0151 0.1464)
OKLCHoklch(88.13% 0.147 95.9)
XYZxyz(63.7210, 68.7211, 19.1387)
Luminance0.6872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D758 #5876F5
analogous
#F58858 #F5D758 #C5F558
triadic
#F5D758 #58F5D7 #D758F5
tetradic
#F5D758 #58F588 #5876F5 #F558C5
square
#F5D758 #58F588 #5876F5 #F558C5
split-complementary
#F5D758 #58C5F5 #8858F5
monochromatic
#C7A30C #F2C91E #F5D758 #F8E592 #FCF3CB

Accessibility & contrast

On white

1.42
#F5D758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#F5D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D758
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D758#FFFFFF#000000##000000
##F5D7581.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD349
Deuteranopia (green-blind)
#F3DC5E
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d758;
/* rgb */ color: rgb(245, 215, 88);
/* oklch */ color: oklch(88.1% 0.147 95.9);
Tailwind
colors: {
  custom: {
    50: '#fce38c',
    500: '#f5d758',
    950: '#000000',
  },
}
SCSS
$custom: #f5d758;
$custom-light: #fce38c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d758",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 48.535,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.88128,
    "c": 0.14722,
    "h": 95.9
  },
  "luminance": 0.68718
}

Semantic roles & 50–950 ramp

primary
#F5D758
secondary
#2E4AC3
accent
#2CE500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D758

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

Preview Lab → · Contrast checker → · Palette generator →

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