#F5CF55#F5CF55

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

Color values

HEX#F5CF55
RGBrgb(245, 207, 85)
HSLhsl(46, 89%, 65%)
HSVhsv(46, 65%, 96%)
CMYKcmyk(0%, 15.5%, 65.3%, 3.9%)
CIE-LABlab(84.33, 0.28, 63.55)
CIE-LCHlch(84.33, 63.55, 89.75°)
OKLaboklab(86.51% -0.0042 0.1441)
OKLCHoklch(86.51% 0.144 91.7)
XYZxyz(61.6118, 64.6974, 17.8352)
Luminance0.6469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CF55 #557BF5
analogous
#F57F55 #F5CF55 #CBF555
triadic
#F5CF55 #55F5CF #CF55F5
tetradic
#F5CF55 #55F57F #557BF5 #F555CB
square
#F5CF55 #55F57F #557BF5 #F555CB
split-complementary
#F5CF55 #55CBF5 #7F55F5
monochromatic
#C4980C #F2BF1B #F5CF55 #F8DF8F #FCF0C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5CF55#FFFFFF#000000##000000
##F5CF551.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)
#E4CC46
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#FFBFB5
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f5cf55;
/* rgb */ color: rgb(245, 207, 85);
/* oklch */ color: oklch(86.5% 0.144 91.7);
Tailwind
colors: {
  custom: {
    50: '#fcdd8a',
    500: '#f5cf55',
    950: '#000000',
  },
}
SCSS
$custom: #f5cf55;
$custom-light: #fcdd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cf55",
  "rgb": {
    "r": 245,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 45.75,
    "s": 88.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86509,
    "c": 0.14412,
    "h": 91.7
  },
  "luminance": 0.64694
}

Semantic roles & 50–950 ramp

primary
#F5CF55
secondary
#2D50C1
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5CF55

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

Preview Lab → · Contrast checker → · Palette generator →

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