#F5D757#F5D757

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

Color values

HEX#F5D757
RGBrgb(245, 215, 87)
HSLhsl(49, 89%, 65%)
HSVhsv(49, 64%, 96%)
CMYKcmyk(0%, 12.2%, 64.5%, 3.9%)
CIE-LABlab(86.36, -3.68, 64.87)
CIE-LCHlch(86.36, 64.97, 93.25°)
OKLaboklab(88.12% -0.0154 0.1472)
OKLCHoklch(88.12% 0.148 96)
XYZxyz(63.6799, 68.7046, 18.9221)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D757 #5775F5
analogous
#F58857 #F5D757 #C4F557
triadic
#F5D757 #57F5D7 #D757F5
tetradic
#F5D757 #57F588 #5775F5 #F557C4
square
#F5D757 #57F588 #5775F5 #F557C4
split-complementary
#F5D757 #57C4F5 #8857F5
monochromatic
#C6A20C #F2C91D #F5D757 #F8E591 #FCF3CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5D757#FFFFFF#000000##000000
##F5D7571.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)
#ECD348
Deuteranopia (green-blind)
#F3DC5E
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f5d757;
/* rgb */ color: rgb(245, 215, 87);
/* oklch */ color: oklch(88.1% 0.148 96.0);
Tailwind
colors: {
  custom: {
    50: '#fce38c',
    500: '#f5d757',
    950: '#000000',
  },
}
SCSS
$custom: #f5d757;
$custom-light: #fce38c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d757",
  "rgb": {
    "r": 245,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 48.608,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.88119,
    "c": 0.14796,
    "h": 96
  },
  "luminance": 0.68701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5D757

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

Preview Lab → · Contrast checker → · Palette generator →

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