#F5F663#F5F663

#F5F663 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.5% C 0.166 H 109.6°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F5F663
RGBrgb(245, 246, 99)
HSLhsl(60, 89%, 68%)
HSVhsv(60, 60%, 96%)
CMYKcmyk(0.4%, 0%, 59.8%, 3.5%)
CIE-LABlab(94.41, -18.29, 68.54)
CIE-LCHlch(94.41, 70.94, 104.94°)
OKLaboklab(94.55% -0.0557 0.1566)
OKLCHoklch(94.55% 0.166 109.6)
XYZxyz(72.8663, 86.2268, 24.6070)
Luminance0.8622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F663 #6463F6
analogous
#F6AD63 #F5F663 #ACF663
triadic
#F5F663 #63F5F6 #F663F5
tetradic
#F5F663 #63F6AD #6463F6 #F663AC
square
#F5F663 #63F6AD #6463F6 #F663AC
split-complementary
#F5F663 #63ACF6 #AD63F6
monochromatic
#D1D20C #F1F329 #F5F663 #F9F99D #FCFDD7

Accessibility & contrast

On white

1.15
#F5F663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#F5F663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F663
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F663#FFFFFF#000000##000000
##F5F6631.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC52
Deuteranopia (green-blind)
#FFF16C
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f663;
/* rgb */ color: rgb(245, 246, 99);
/* oklch */ color: oklch(94.5% 0.166 109.6);
Tailwind
colors: {
  custom: {
    50: '#fbf995',
    500: '#f5f663',
    950: '#000000',
  },
}
SCSS
$custom: #f5f663;
$custom-light: #fbf995;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f663",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 99
  },
  "hsl": {
    "h": 60.408,
    "s": 89.091,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94549,
    "c": 0.16621,
    "h": 109.6
  },
  "luminance": 0.86225
}

Semantic roles & 50–950 ramp

primary
#F5F663
secondary
#3130CE
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F663

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

Preview Lab → · Contrast checker → · Palette generator →

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