#F5E466#F5E466

#F5E466 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.9% C 0.147 H 101.7°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#F5E466
RGBrgb(245, 228, 102)
HSLhsl(53, 88%, 68%)
HSVhsv(53, 58%, 96%)
CMYKcmyk(0%, 6.9%, 58.4%, 3.9%)
CIE-LABlab(89.79, -9.26, 62.20)
CIE-LCHlch(89.79, 62.89, 98.47°)
OKLaboklab(90.89% -0.0297 0.1435)
OKLCHoklch(90.89% 0.147 101.7)
XYZxyz(67.8003, 75.8612, 23.6391)
Luminance0.7586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E466 #6677F5
analogous
#F59C66 #F5E466 #BEF566
triadic
#F5E466 #66F5E4 #E466F5
tetradic
#F5E466 #66F59C #6677F5 #F566BE
square
#F5E466 #66F59C #6677F5 #F566BE
split-complementary
#F5E466 #66BEF5 #9C66F5
monochromatic
#D3BB0E #F1DA2D #F5E466 #F9EE9F #FDF8D9

Accessibility & contrast

On white

1.30
#F5E466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#F5E466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E466
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E466#FFFFFF#000000##000000
##F5E4661.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE59
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e466;
/* rgb */ color: rgb(245, 228, 102);
/* oklch */ color: oklch(90.9% 0.147 101.7);
Tailwind
colors: {
  custom: {
    50: '#fbec96',
    500: '#f5e466',
    950: '#000000',
  },
}
SCSS
$custom: #f5e466;
$custom-light: #fbec96;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e466",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 102
  },
  "hsl": {
    "h": 52.867,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.90885,
    "c": 0.14655,
    "h": 101.7
  },
  "luminance": 0.75859
}

Semantic roles & 50–950 ramp

primary
#F5E466
secondary
#3144CE
accent
#1CE401
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5E466

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

Preview Lab → · Contrast checker → · Palette generator →

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