#F5D366#F5D366

#F5D366 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.5% C 0.133 H 92.1°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#F5D366
RGBrgb(245, 211, 102)
HSLhsl(46, 88%, 68%)
HSVhsv(46, 58%, 96%)
CMYKcmyk(0%, 13.9%, 58.4%, 3.9%)
CIE-LABlab(85.49, -0.68, 57.34)
CIE-LCHlch(85.49, 57.34, 90.68°)
OKLaboklab(87.47% -0.005 0.1331)
OKLCHoklch(87.47% 0.133 92.1)
XYZxyz(63.3515, 66.9635, 22.1561)
Luminance0.6696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D366 #6688F5
analogous
#F58B66 #F5D366 #D0F566
triadic
#F5D366 #66F5D3 #D366F5
tetradic
#F5D366 #66F58B #6688F5 #F566D0
square
#F5D366 #66F58B #6688F5 #F566D0
split-complementary
#F5D366 #66D0F5 #8B66F5
monochromatic
#D3A40E #F1C22D #F5D366 #F9E49F #FDF4D9

Accessibility & contrast

On white

1.46
#F5D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#F5D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D366
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D366#FFFFFF#000000##000000
##F5D3661.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#EFDA6B
Tritanopia (blue-blind)
#FFC4BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f5d366;
/* rgb */ color: rgb(245, 211, 102);
/* oklch */ color: oklch(87.5% 0.133 92.1);
Tailwind
colors: {
  custom: {
    50: '#fbe095',
    500: '#f5d366',
    950: '#000000',
  },
}
SCSS
$custom: #f5d366;
$custom-light: #fbe095;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d366",
  "rgb": {
    "r": 245,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 45.734,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87473,
    "c": 0.13319,
    "h": 92.1
  },
  "luminance": 0.6696
}

Semantic roles & 50–950 ramp

primary
#F5D366
secondary
#3157CE
accent
#37E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F5D366

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

Preview Lab → · Contrast checker → · Palette generator →

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