#F5E366#F5E366

#F5E366 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.7% C 0.146 H 101.2°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#F5E366
RGBrgb(245, 227, 102)
HSLhsl(52, 88%, 68%)
HSVhsv(52, 58%, 96%)
CMYKcmyk(0%, 7.3%, 58.4%, 3.9%)
CIE-LABlab(89.54, -8.76, 61.91)
CIE-LCHlch(89.54, 62.53, 98.05°)
OKLaboklab(90.68% -0.0282 0.1429)
OKLCHoklch(90.68% 0.146 101.2)
XYZxyz(67.5260, 75.3126, 23.5477)
Luminance0.7531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E366 #6678F5
analogous
#F59C66 #F5E366 #BFF566
triadic
#F5E366 #66F5E3 #E366F5
tetradic
#F5E366 #66F59C #6678F5 #F566BF
square
#F5E366 #66F59C #6678F5 #F566BF
split-complementary
#F5E366 #66BFF5 #9C66F5
monochromatic
#D3BA0E #F1D82D #F5E366 #F9EE9F #FDF8D9

Accessibility & contrast

On white

1.31
#F5E366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#F5E366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E366
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E366#FFFFFF#000000##000000
##F5E3661.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD59
Deuteranopia (green-blind)
#FBE46C
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f5e366;
/* rgb */ color: rgb(245, 227, 102);
/* oklch */ color: oklch(90.7% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#fbeb96',
    500: '#f5e366',
    950: '#000000',
  },
}
SCSS
$custom: #f5e366;
$custom-light: #fbeb96;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e366",
  "rgb": {
    "r": 245,
    "g": 227,
    "b": 102
  },
  "hsl": {
    "h": 52.448,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90682,
    "c": 0.14567,
    "h": 101.2
  },
  "luminance": 0.7531
}

Semantic roles & 50–950 ramp

primary
#F5E366
secondary
#3145CE
accent
#1EE401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E366

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

Preview Lab → · Contrast checker → · Palette generator →

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