#F5EA60#F5EA60

#F5EA60 is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.0% C 0.157 H 104.8°. Best body text is #000000 at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#F5EA60
RGBrgb(245, 234, 96)
HSLhsl(56, 88%, 67%)
HSVhsv(56, 61%, 96%)
CMYKcmyk(0%, 4.5%, 60.8%, 3.9%)
CIE-LABlab(91.28, -12.63, 66.40)
CIE-LCHlch(91.28, 67.59, 100.77°)
OKLaboklab(92.05% -0.0399 0.1517)
OKLCHoklch(92.05% 0.157 104.8)
XYZxyz(69.1928, 79.1051, 22.6881)
Luminance0.7910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EA60 #606BF5
analogous
#F59F60 #F5EA60 #B6F560
triadic
#F5EA60 #60F5EA #EA60F5
tetradic
#F5EA60 #60F59F #606BF5 #F560B6
square
#F5EA60 #60F59F #606BF5 #F560B6
split-complementary
#F5EA60 #60B6F5 #9F60F5
monochromatic
#CEBF0D #F1E226 #F5EA60 #F9F29A #FCF9D3

Accessibility & contrast

On white

1.25
#F5EA60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.82
#F5EA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EA60
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EA60#FFFFFF#000000##000000
##F5EA601.001.2516.8216.82
#FFFFFF1.251.0021.0021.00
#00000016.8221.001.001.00
##00000016.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE250
Deuteranopia (green-blind)
#FFE968
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5ea60;
/* rgb */ color: rgb(245, 234, 96);
/* oklch */ color: oklch(92.0% 0.157 104.8);
Tailwind
colors: {
  custom: {
    50: '#fcf093',
    500: '#f5ea60',
    950: '#000000',
  },
}
SCSS
$custom: #f5ea60;
$custom-light: #fcf093;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ea60",
  "rgb": {
    "r": 245,
    "g": 234,
    "b": 96
  },
  "hsl": {
    "h": 55.57,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92049,
    "c": 0.15685,
    "h": 104.8
  },
  "luminance": 0.79103
}

Semantic roles & 50–950 ramp

primary
#F5EA60
secondary
#303BC9
accent
#12E501
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5EA60

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

Preview Lab → · Contrast checker → · Palette generator →

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