#F5E460#F5E460

#F5E460 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.8% C 0.151 H 102.0°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#F5E460
RGBrgb(245, 228, 96)
HSLhsl(53, 88%, 67%)
HSVhsv(53, 61%, 96%)
CMYKcmyk(0%, 6.9%, 60.8%, 3.9%)
CIE-LABlab(89.74, -9.66, 64.73)
CIE-LCHlch(89.74, 65.44, 98.49°)
OKLaboklab(90.83% -0.0315 0.1481)
OKLCHoklch(90.83% 0.151 102)
XYZxyz(67.5135, 75.7465, 22.1283)
Luminance0.7574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E460 #6071F5
analogous
#F59960 #F5E460 #BCF560
triadic
#F5E460 #60F5E4 #E460F5
tetradic
#F5E460 #60F599 #6071F5 #F560BC
square
#F5E460 #60F599 #6071F5 #F560BC
split-complementary
#F5E460 #60BCF5 #9960F5
monochromatic
#CEB80D #F1DA26 #F5E460 #F9EE9A #FCF8D3

Accessibility & contrast

On white

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

On black

16.15
#F5E460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E460
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E460#FFFFFF#000000##000000
##F5E4601.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DD51
Deuteranopia (green-blind)
#FCE567
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e460;
/* rgb */ color: rgb(245, 228, 96);
/* oklch */ color: oklch(90.8% 0.151 102.0);
Tailwind
colors: {
  custom: {
    50: '#fcec92',
    500: '#f5e460',
    950: '#000000',
  },
}
SCSS
$custom: #f5e460;
$custom-light: #fcec92;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e460",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 96
  },
  "hsl": {
    "h": 53.154,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.90825,
    "c": 0.15144,
    "h": 102
  },
  "luminance": 0.75744
}

Semantic roles & 50–950 ramp

primary
#F5E460
secondary
#3041C9
accent
#1BE501
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5E460

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

Preview Lab → · Contrast checker → · Palette generator →

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