#F5E766#F5E766

#F5E766 is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.5% C 0.149 H 103.1°. Best body text is #000000 at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#F5E766
RGBrgb(245, 231, 102)
HSLhsl(54, 88%, 68%)
HSVhsv(54, 58%, 96%)
CMYKcmyk(0%, 5.7%, 58.4%, 3.9%)
CIE-LABlab(90.56, -10.75, 63.06)
CIE-LCHlch(90.56, 63.97, 99.67°)
OKLaboklab(91.5% -0.0339 0.1453)
OKLCHoklch(91.5% 0.149 103.1)
XYZxyz(68.6328, 77.5261, 23.9166)
Luminance0.7752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E766 #6674F5
analogous
#F59F66 #F5E766 #BBF566
triadic
#F5E766 #66F5E7 #E766F5
tetradic
#F5E766 #66F59F #6674F5 #F566BB
square
#F5E766 #66F59F #6674F5 #F566BB
split-complementary
#F5E766 #66BBF5 #9F66F5
monochromatic
#D3C00E #F1DE2D #F5E766 #F9F09F #FDF9D9

Accessibility & contrast

On white

1.27
#F5E766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.50
#F5E766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E766
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E766#FFFFFF#000000##000000
##F5E7661.001.2716.5016.50
#FFFFFF1.271.0021.0021.00
#00000016.5021.001.001.00
##00000016.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE058
Deuteranopia (green-blind)
#FEE76D
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e766;
/* rgb */ color: rgb(245, 231, 102);
/* oklch */ color: oklch(91.5% 0.149 103.1);
Tailwind
colors: {
  custom: {
    50: '#fbee96',
    500: '#f5e766',
    950: '#000000',
  },
}
SCSS
$custom: #f5e766;
$custom-light: #fbee96;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e766",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 54.126,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91495,
    "c": 0.14925,
    "h": 103.1
  },
  "luminance": 0.77524
}

Semantic roles & 50–950 ramp

primary
#F5E766
secondary
#3141CE
accent
#17E401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E766

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

Preview Lab → · Contrast checker → · Palette generator →

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