#F5CE57#F5CE57

#F5CE57 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.3% C 0.142 H 90.9°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#F5CE57
RGBrgb(245, 206, 87)
HSLhsl(45, 89%, 65%)
HSVhsv(45, 64%, 96%)
CMYKcmyk(0%, 15.9%, 64.5%, 3.9%)
CIE-LABlab(84.09, 0.91, 62.45)
CIE-LCHlch(84.09, 62.45, 89.17°)
OKLaboklab(86.33% -0.0022 0.142)
OKLCHoklch(86.33% 0.142 90.9)
XYZxyz(61.4509, 64.2467, 18.1791)
Luminance0.6424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CE57 #577EF5
analogous
#F57F57 #F5CE57 #CDF557
triadic
#F5CE57 #57F5CE #CE57F5
tetradic
#F5CE57 #57F57F #577EF5 #F557CD
square
#F5CE57 #57F57F #577EF5 #F557CD
split-complementary
#F5CE57 #57CDF5 #7F57F5
monochromatic
#C6980C #F2BD1D #F5CE57 #F8DF91 #FCF0CB

Accessibility & contrast

On white

1.52
#F5CE57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.85
#F5CE57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CE57
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CE57#FFFFFF#000000##000000
##F5CE571.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB49
Deuteranopia (green-blind)
#EDD65C
Tritanopia (blue-blind)
#FFBEB5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f5ce57;
/* rgb */ color: rgb(245, 206, 87);
/* oklch */ color: oklch(86.3% 0.142 90.9);
Tailwind
colors: {
  custom: {
    50: '#fcdc8b',
    500: '#f5ce57',
    950: '#000000',
  },
}
SCSS
$custom: #f5ce57;
$custom-light: #fcdc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ce57",
  "rgb": {
    "r": 245,
    "g": 206,
    "b": 87
  },
  "hsl": {
    "h": 45.19,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8633,
    "c": 0.14204,
    "h": 90.9
  },
  "luminance": 0.64243
}

Semantic roles & 50–950 ramp

primary
#F5CE57
secondary
#2D52C3
accent
#39E500
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5CE57

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

Preview Lab → · Contrast checker → · Palette generator →

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