#F5DE62#F5DE62

#F5DE62 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.6% C 0.145 H 98.9°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#F5DE62
RGBrgb(245, 222, 98)
HSLhsl(51, 88%, 67%)
HSVhsv(51, 60%, 96%)
CMYKcmyk(0%, 9.4%, 60%, 3.9%)
CIE-LABlab(88.23, -6.53, 62.20)
CIE-LCHlch(88.23, 62.55, 95.99°)
OKLaboklab(89.63% -0.0223 0.143)
OKLCHoklch(89.63% 0.145 98.9)
XYZxyz(65.9847, 72.5397, 22.0788)
Luminance0.7254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE62 #6279F5
analogous
#F59462 #F5DE62 #C3F562
triadic
#F5DE62 #62F5DE #DE62F5
tetradic
#F5DE62 #62F594 #6279F5 #F562C3
square
#F5DE62 #62F594 #6279F5 #F562C3
split-complementary
#F5DE62 #62C3F5 #9462F5
monochromatic
#CFB10D #F1D228 #F5DE62 #F9EA9C #FCF6D5

Accessibility & contrast

On white

1.35
#F5DE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.51
#F5DE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE62
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE62#FFFFFF#000000##000000
##F5DE621.001.3515.5115.51
#FFFFFF1.351.0021.0021.00
#00000015.5121.001.001.00
##00000015.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D955
Deuteranopia (green-blind)
#F8E168
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5de62;
/* rgb */ color: rgb(245, 222, 98);
/* oklch */ color: oklch(89.6% 0.145 98.9);
Tailwind
colors: {
  custom: {
    50: '#fce893',
    500: '#f5de62',
    950: '#000000',
  },
}
SCSS
$custom: #f5de62;
$custom-light: #fce893;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de62",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 98
  },
  "hsl": {
    "h": 50.612,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8963,
    "c": 0.14475,
    "h": 98.9
  },
  "luminance": 0.72537
}

Semantic roles & 50–950 ramp

primary
#F5DE62
secondary
#3048CB
accent
#25E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5DE62

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

Preview Lab → · Contrast checker → · Palette generator →

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