#F5EF62#F5EF62

#F5EF62 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.160 H 106.8°. Best body text is #000000 at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#F5EF62
RGBrgb(245, 239, 98)
HSLhsl(58, 88%, 67%)
HSVhsv(58, 60%, 96%)
CMYKcmyk(0%, 2.4%, 60%, 3.9%)
CIE-LABlab(92.59, -14.95, 66.98)
CIE-LCHlch(92.59, 68.63, 102.59°)
OKLaboklab(93.09% -0.0463 0.1532)
OKLCHoklch(93.09% 0.16 106.8)
XYZxyz(70.7296, 82.0295, 23.6604)
Luminance0.8203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5EF62 #6268F5
analogous
#F5A662 #F5EF62 #B2F562
triadic
#F5EF62 #62F5EF #EF62F5
tetradic
#F5EF62 #62F5A6 #6268F5 #F562B2
square
#F5EF62 #62F5A6 #6268F5 #F562B2
split-complementary
#F5EF62 #62B2F5 #A662F5
monochromatic
#CFC70D #F1E928 #F5EF62 #F9F59C #FCFBD5

Accessibility & contrast

On white

1.21
#F5EF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.41
#F5EF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5EF62
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5EF62#FFFFFF#000000##000000
##F5EF621.001.2117.4117.41
#FFFFFF1.211.0021.0021.00
#00000017.4121.001.001.00
##00000017.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE752
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f5ef62;
/* rgb */ color: rgb(245, 239, 98);
/* oklch */ color: oklch(93.1% 0.160 106.8);
Tailwind
colors: {
  custom: {
    50: '#fbf494',
    500: '#f5ef62',
    950: '#000000',
  },
}
SCSS
$custom: #f5ef62;
$custom-light: #fbf494;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ef62",
  "rgb": {
    "r": 245,
    "g": 239,
    "b": 98
  },
  "hsl": {
    "h": 57.551,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93094,
    "c": 0.16003,
    "h": 106.8
  },
  "luminance": 0.82027
}

Semantic roles & 50–950 ramp

primary
#F5EF62
secondary
#3037CB
accent
#0AE501
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F5EF62

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

Preview Lab → · Contrast checker → · Palette generator →

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