#F5CE54#F5CE54

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

Color values

HEX#F5CE54
RGBrgb(245, 206, 84)
HSLhsl(45, 89%, 65%)
HSVhsv(45, 66%, 96%)
CMYKcmyk(0%, 15.9%, 65.7%, 3.9%)
CIE-LABlab(84.07, 0.73, 63.70)
CIE-LCHlch(84.07, 63.70, 89.34°)
OKLaboklab(86.3% -0.003 0.1442)
OKLCHoklch(86.3% 0.144 91.2)
XYZxyz(61.3308, 64.1987, 17.5470)
Luminance0.6420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CE54 #547BF5
analogous
#F57E54 #F5CE54 #CBF554
triadic
#F5CE54 #54F5CE #CE54F5
tetradic
#F5CE54 #54F57E #547BF5 #F554CB
square
#F5CE54 #54F57E #547BF5 #F554CB
split-complementary
#F5CE54 #54CBF5 #7E54F5
monochromatic
#C3970B #F2BD1A #F5CE54 #F8DF8E #FCEFC8

Accessibility & contrast

On white

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

On black

13.84
#F5CE54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CE54
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CE54#FFFFFF#000000##000000
##F5CE541.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB45
Deuteranopia (green-blind)
#EDD65A
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f5ce54;
/* rgb */ color: rgb(245, 206, 84);
/* oklch */ color: oklch(86.3% 0.144 91.2);
Tailwind
colors: {
  custom: {
    50: '#fcdc89',
    500: '#f5ce54',
    950: '#000000',
  },
}
SCSS
$custom: #f5ce54;
$custom-light: #fcdc89;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ce54",
  "rgb": {
    "r": 245,
    "g": 206,
    "b": 84
  },
  "hsl": {
    "h": 45.466,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86303,
    "c": 0.14424,
    "h": 91.2
  },
  "luminance": 0.64195
}

Semantic roles & 50–950 ramp

primary
#F5CE54
secondary
#2D51C0
accent
#38E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5CE54

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

Preview Lab → · Contrast checker → · Palette generator →

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