#F5D866#F5D866

#F5D866 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.5% C 0.137 H 95.2°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#F5D866
RGBrgb(245, 216, 102)
HSLhsl(48, 88%, 68%)
HSVhsv(48, 58%, 96%)
CMYKcmyk(0%, 11.8%, 58.4%, 3.9%)
CIE-LABlab(86.74, -3.22, 58.77)
CIE-LCHlch(86.74, 58.86, 93.14°)
OKLaboklab(88.47% -0.0123 0.1362)
OKLCHoklch(88.47% 0.137 95.2)
XYZxyz(64.6130, 69.4866, 22.5766)
Luminance0.6948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D866 #6683F5
analogous
#F59066 #F5D866 #CBF566
triadic
#F5D866 #66F5D8 #D866F5
tetradic
#F5D866 #66F590 #6683F5 #F566CB
square
#F5D866 #66F590 #6683F5 #F566CB
split-complementary
#F5D866 #66CBF5 #9066F5
monochromatic
#D3AB0E #F1C92D #F5D866 #F9E79F #FDF5D9

Accessibility & contrast

On white

1.41
#F5D866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.90
#F5D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D866
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D866#FFFFFF#000000##000000
##F5D8661.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45A
Deuteranopia (green-blind)
#F3DD6B
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f5d866;
/* rgb */ color: rgb(245, 216, 102);
/* oklch */ color: oklch(88.5% 0.137 95.2);
Tailwind
colors: {
  custom: {
    50: '#fbe395',
    500: '#f5d866',
    950: '#000000',
  },
}
SCSS
$custom: #f5d866;
$custom-light: #fbe395;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d866",
  "rgb": {
    "r": 245,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 47.832,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88468,
    "c": 0.13673,
    "h": 95.2
  },
  "luminance": 0.69484
}

Semantic roles & 50–950 ramp

primary
#F5D866
secondary
#3151CE
accent
#2FE401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D866

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

Preview Lab → · Contrast checker → · Palette generator →

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