#F5E666#F5E666

#F5E666 is a very light, vivid yellow. Relative luminance 0.770; OKLCH L 91.3% C 0.148 H 102.7°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#F5E666
RGBrgb(245, 230, 102)
HSLhsl(54, 88%, 68%)
HSVhsv(54, 58%, 96%)
CMYKcmyk(0%, 6.1%, 58.4%, 3.9%)
CIE-LABlab(90.31, -10.25, 62.77)
CIE-LCHlch(90.31, 63.60, 99.28°)
OKLaboklab(91.29% -0.0325 0.1447)
OKLCHoklch(91.29% 0.148 102.7)
XYZxyz(68.3537, 76.9680, 23.8235)
Luminance0.7696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E666 #6675F5
analogous
#F59E66 #F5E666 #BDF566
triadic
#F5E666 #66F5E6 #E666F5
tetradic
#F5E666 #66F59E #6675F5 #F566BD
square
#F5E666 #66F59E #6675F5 #F566BD
split-complementary
#F5E666 #66BDF5 #9E66F5
monochromatic
#D3BE0E #F1DD2D #F5E666 #F9EF9F #FDF9D9

Accessibility & contrast

On white

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

On black

16.39
#F5E666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E666
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E666#FFFFFF#000000##000000
##F5E6661.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF58
Deuteranopia (green-blind)
#FDE66D
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e666;
/* rgb */ color: rgb(245, 230, 102);
/* oklch */ color: oklch(91.3% 0.148 102.7);
Tailwind
colors: {
  custom: {
    50: '#fbed96',
    500: '#f5e666',
    950: '#000000',
  },
}
SCSS
$custom: #f5e666;
$custom-light: #fbed96;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e666",
  "rgb": {
    "r": 245,
    "g": 230,
    "b": 102
  },
  "hsl": {
    "h": 53.706,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91291,
    "c": 0.14835,
    "h": 102.7
  },
  "luminance": 0.76965
}

Semantic roles & 50–950 ramp

primary
#F5E666
secondary
#3142CE
accent
#19E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E666

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

Preview Lab → · Contrast checker → · Palette generator →

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