#F5DD62#F5DD62

#F5DD62 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.4% C 0.144 H 98.3°. Best body text is #000000 at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#F5DD62
RGBrgb(245, 221, 98)
HSLhsl(50, 88%, 67%)
HSVhsv(50, 60%, 96%)
CMYKcmyk(0%, 9.8%, 60%, 3.9%)
CIE-LABlab(87.97, -6.03, 61.92)
CIE-LCHlch(87.97, 62.21, 95.56°)
OKLaboklab(89.43% -0.0208 0.1424)
OKLCHoklch(89.43% 0.144 98.3)
XYZxyz(65.7199, 72.0101, 21.9905)
Luminance0.7201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD62 #627AF5
analogous
#F59462 #F5DD62 #C4F562
triadic
#F5DD62 #62F5DD #DD62F5
tetradic
#F5DD62 #62F594 #627AF5 #F562C4
square
#F5DD62 #62F594 #627AF5 #F562C4
split-complementary
#F5DD62 #62C4F5 #9462F5
monochromatic
#CFB00D #F1D128 #F5DD62 #F9E99C #FCF6D5

Accessibility & contrast

On white

1.36
#F5DD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.40
#F5DD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD62
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD62#FFFFFF#000000##000000
##F5DD621.001.3615.4015.40
#FFFFFF1.361.0021.0021.00
#00000015.4021.001.001.00
##00000015.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D855
Deuteranopia (green-blind)
#F7E068
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dd62;
/* rgb */ color: rgb(245, 221, 98);
/* oklch */ color: oklch(89.4% 0.144 98.3);
Tailwind
colors: {
  custom: {
    50: '#fce793',
    500: '#f5dd62',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd62;
$custom-light: #fce793;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd62",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 98
  },
  "hsl": {
    "h": 50.204,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89429,
    "c": 0.14394,
    "h": 98.3
  },
  "luminance": 0.72007
}

Semantic roles & 50–950 ramp

primary
#F5DD62
secondary
#3049CB
accent
#26E501
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F5DD62

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

Preview Lab → · Contrast checker → · Palette generator →

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