#F5ED62#F5ED62

#F5ED62 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.7% C 0.158 H 106.0°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#F5ED62
RGBrgb(245, 237, 98)
HSLhsl(57, 88%, 67%)
HSVhsv(57, 60%, 96%)
CMYKcmyk(0%, 3.3%, 60%, 3.9%)
CIE-LABlab(92.07, -13.98, 66.42)
CIE-LCHlch(92.07, 67.87, 101.88°)
OKLaboklab(92.68% -0.0435 0.152)
OKLCHoklch(92.68% 0.158 106)
XYZxyz(70.1473, 80.8650, 23.4663)
Luminance0.8086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED62 #626AF5
analogous
#F5A462 #F5ED62 #B3F562
triadic
#F5ED62 #62F5ED #ED62F5
tetradic
#F5ED62 #62F5A4 #626AF5 #F562B3
square
#F5ED62 #62F5A4 #626AF5 #F562B3
split-complementary
#F5ED62 #62B3F5 #A462F5
monochromatic
#CFC50D #F1E628 #F5ED62 #F9F49C #FCFAD5

Accessibility & contrast

On white

1.22
#F5ED62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#F5ED62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED62
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED62#FFFFFF#000000##000000
##F5ED621.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FFEB6A
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ed62;
/* rgb */ color: rgb(245, 237, 98);
/* oklch */ color: oklch(92.7% 0.158 106.0);
Tailwind
colors: {
  custom: {
    50: '#fbf294',
    500: '#f5ed62',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed62;
$custom-light: #fbf294;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed62",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 98
  },
  "hsl": {
    "h": 56.735,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.92683,
    "c": 0.15811,
    "h": 106
  },
  "luminance": 0.80863
}

Semantic roles & 50–950 ramp

primary
#F5ED62
secondary
#3039CB
accent
#0DE501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F5ED62

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

Preview Lab → · Contrast checker → · Palette generator →

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