#F5E66C#F5E66C

#F5E66C is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.4% C 0.143 H 102.3°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#F5E66C
RGBrgb(245, 230, 108)
HSLhsl(53, 87%, 69%)
HSVhsv(53, 56%, 96%)
CMYKcmyk(0%, 6.1%, 55.9%, 3.9%)
CIE-LABlab(90.36, -9.83, 60.19)
CIE-LCHlch(90.36, 60.99, 99.27°)
OKLaboklab(91.36% -0.0306 0.1399)
OKLCHoklch(91.36% 0.143 102.3)
XYZxyz(68.6621, 77.0913, 25.4478)
Luminance0.7709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E66C #6C7BF5
analogous
#F5A26C #F5E66C #BFF56C
triadic
#F5E66C #6CF5E6 #E66CF5
tetradic
#F5E66C #6CF5A2 #6C7BF5 #F56CBF
square
#F5E66C #6CF5A2 #6C7BF5 #F56CBF
split-complementary
#F5E66C #6CBFF5 #A26CF5
monochromatic
#D8C20F #F1DC33 #F5E66C #F9F0A5 #FDF9DF

Accessibility & contrast

On white

1.28
#F5E66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#F5E66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E66C
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E66C#FFFFFF#000000##000000
##F5E66C1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF60
Deuteranopia (green-blind)
#FDE672
Tritanopia (blue-blind)
#FFD8CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e66c;
/* rgb */ color: rgb(245, 230, 108);
/* oklch */ color: oklch(91.4% 0.143 102.3);
Tailwind
colors: {
  custom: {
    50: '#fbed9a',
    500: '#f5e66c',
    950: '#000000',
  },
}
SCSS
$custom: #f5e66c;
$custom-light: #fbed9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e66c",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 108
  },
  "hsl": {
    "h": 53.431,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.91355,
    "c": 0.14322,
    "h": 102.3
  },
  "luminance": 0.77089
}

Semantic roles & 50–950 ramp

primary
#F5E66C
secondary
#3747CF
accent
#1AE402
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E66C

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

Preview Lab → · Contrast checker → · Palette generator →

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