#F5D457#F5D457

#F5D457 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.5% C 0.146 H 94.3°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#F5D457
RGBrgb(245, 212, 87)
HSLhsl(47, 89%, 65%)
HSVhsv(47, 64%, 96%)
CMYKcmyk(0%, 13.5%, 64.5%, 3.9%)
CIE-LABlab(85.60, -2.16, 64.06)
CIE-LCHlch(85.60, 64.10, 91.93°)
OKLaboklab(87.52% -0.011 0.1455)
OKLCHoklch(87.52% 0.146 94.3)
XYZxyz(62.9230, 67.1908, 18.6698)
Luminance0.6719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D457 #5778F5
analogous
#F58557 #F5D457 #C7F557
triadic
#F5D457 #57F5D4 #D457F5
tetradic
#F5D457 #57F585 #5778F5 #F557C7
square
#F5D457 #57F585 #5778F5 #F557C7
split-complementary
#F5D457 #57C7F5 #8557F5
monochromatic
#C69F0C #F2C51D #F5D457 #F8E391 #FCF2CB

Accessibility & contrast

On white

1.45
#F5D457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#F5D457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D457
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D457#FFFFFF#000000##000000
##F5D4571.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D048
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f5d457;
/* rgb */ color: rgb(245, 212, 87);
/* oklch */ color: oklch(87.5% 0.146 94.3);
Tailwind
colors: {
  custom: {
    50: '#fce08c',
    500: '#f5d457',
    950: '#000000',
  },
}
SCSS
$custom: #f5d457;
$custom-light: #fce08c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d457",
  "rgb": {
    "r": 245,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 47.468,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8752,
    "c": 0.14587,
    "h": 94.3
  },
  "luminance": 0.67188
}

Semantic roles & 50–950 ramp

primary
#F5D457
secondary
#2D4DC3
accent
#30E500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D457

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

Preview Lab → · Contrast checker → · Palette generator →

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