#F5F366#F5F366

#F5F366 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.0% C 0.161 H 108.4°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#F5F366
RGBrgb(245, 243, 102)
HSLhsl(59, 88%, 68%)
HSVhsv(59, 58%, 96%)
CMYKcmyk(0%, 0.8%, 58.4%, 3.9%)
CIE-LABlab(93.66, -16.64, 66.47)
CIE-LCHlch(93.66, 68.52, 104.05°)
OKLaboklab(93.96% -0.0507 0.1526)
OKLCHoklch(93.96% 0.161 108.4)
XYZxyz(72.1072, 84.4750, 25.0747)
Luminance0.8447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F366 #6668F5
analogous
#F5AB66 #F5F366 #AFF566
triadic
#F5F366 #66F5F3 #F366F5
tetradic
#F5F366 #66F5AB #6668F5 #F566AF
square
#F5F366 #66F5AB #6668F5 #F566AF
split-complementary
#F5F366 #66AFF5 #AB66F5
monochromatic
#D3D00E #F1EE2D #F5F366 #F9F89F #FDFCD9

Accessibility & contrast

On white

1.17
#F5F366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.89
#F5F366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F366
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F366#FFFFFF#000000##000000
##F5F3661.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA56
Deuteranopia (green-blind)
#FFEF6E
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f366;
/* rgb */ color: rgb(245, 243, 102);
/* oklch */ color: oklch(94.0% 0.161 108.4);
Tailwind
colors: {
  custom: {
    50: '#fbf697',
    500: '#f5f366',
    950: '#000000',
  },
}
SCSS
$custom: #f5f366;
$custom-light: #fbf697;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f366",
  "rgb": {
    "r": 245,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 59.161,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.93957,
    "c": 0.16081,
    "h": 108.4
  },
  "luminance": 0.84473
}

Semantic roles & 50–950 ramp

primary
#F5F366
secondary
#3134CE
accent
#04E401
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5F366

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

Preview Lab → · Contrast checker → · Palette generator →

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