#F5CF54#F5CF54

#F5CF54 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.5% C 0.145 H 91.8°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#F5CF54
RGBrgb(245, 207, 84)
HSLhsl(46, 89%, 65%)
HSVhsv(46, 66%, 96%)
CMYKcmyk(0%, 15.5%, 65.7%, 3.9%)
CIE-LABlab(84.32, 0.22, 63.96)
CIE-LCHlch(84.32, 63.96, 89.80°)
OKLaboklab(86.5% -0.0045 0.1448)
OKLCHoklch(86.5% 0.145 91.8)
XYZxyz(61.5723, 64.6817, 17.6275)
Luminance0.6468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CF54 #547AF5
analogous
#F57F54 #F5CF54 #CAF554
triadic
#F5CF54 #54F5CF #CF54F5
tetradic
#F5CF54 #54F57F #547AF5 #F554CA
square
#F5CF54 #54F57F #547AF5 #F554CA
split-complementary
#F5CF54 #54CAF5 #7F54F5
monochromatic
#C3980B #F2BF1A #F5CF54 #F8DF8E #FCEFC8

Accessibility & contrast

On white

1.51
#F5CF54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#F5CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CF54
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CF54#FFFFFF#000000##000000
##F5CF541.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC45
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f5cf54;
/* rgb */ color: rgb(245, 207, 84);
/* oklch */ color: oklch(86.5% 0.145 91.8);
Tailwind
colors: {
  custom: {
    50: '#fcdd8a',
    500: '#f5cf54',
    950: '#000000',
  },
}
SCSS
$custom: #f5cf54;
$custom-light: #fcdd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cf54",
  "rgb": {
    "r": 245,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 45.839,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.865,
    "c": 0.14485,
    "h": 91.8
  },
  "luminance": 0.64678
}

Semantic roles & 50–950 ramp

primary
#F5CF54
secondary
#2D50C0
accent
#36E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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