#F5DD60#F5DD60

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

Color values

HEX#F5DD60
RGBrgb(245, 221, 96)
HSLhsl(50, 88%, 67%)
HSVhsv(50, 61%, 96%)
CMYKcmyk(0%, 9.8%, 60.8%, 3.9%)
CIE-LABlab(87.96, -6.16, 62.77)
CIE-LCHlch(87.96, 63.07, 95.60°)
OKLaboklab(89.41% -0.0215 0.144)
OKLCHoklch(89.41% 0.146 98.5)
XYZxyz(65.6267, 71.9728, 21.4994)
Luminance0.7197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD60 #6078F5
analogous
#F59360 #F5DD60 #C2F560
triadic
#F5DD60 #60F5DD #DD60F5
tetradic
#F5DD60 #60F593 #6078F5 #F560C2
square
#F5DD60 #60F593 #6078F5 #F560C2
split-complementary
#F5DD60 #60C2F5 #9360F5
monochromatic
#CEAF0D #F1D126 #F5DD60 #F9E99A #FCF6D3

Accessibility & contrast

On white

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

On black

15.39
#F5DD60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD60
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD60#FFFFFF#000000##000000
##F5DD601.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5dd60;
/* rgb */ color: rgb(245, 221, 96);
/* oklch */ color: oklch(89.4% 0.146 98.5);
Tailwind
colors: {
  custom: {
    50: '#fce792',
    500: '#f5dd60',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd60;
$custom-light: #fce792;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd60",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 96
  },
  "hsl": {
    "h": 50.336,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89409,
    "c": 0.14556,
    "h": 98.5
  },
  "luminance": 0.7197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5DD60

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

Preview Lab → · Contrast checker → · Palette generator →

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