#F5DD68#F5DD68

#F5DD68 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.5% C 0.139 H 97.9°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#F5DD68
RGBrgb(245, 221, 104)
HSLhsl(50, 88%, 68%)
HSVhsv(50, 58%, 96%)
CMYKcmyk(0%, 9.8%, 57.6%, 3.9%)
CIE-LABlab(88.03, -5.61, 59.33)
CIE-LCHlch(88.03, 59.59, 95.40°)
OKLaboklab(89.49% -0.019 0.1376)
OKLCHoklch(89.49% 0.139 97.9)
XYZxyz(66.0139, 72.1277, 23.5388)
Luminance0.7212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD68 #6880F5
analogous
#F59668 #F5DD68 #C6F568
triadic
#F5DD68 #68F5DD #DD68F5
tetradic
#F5DD68 #68F596 #6880F5 #F568C6
square
#F5DD68 #68F596 #6880F5 #F568C6
split-complementary
#F5DD68 #68C6F5 #9668F5
monochromatic
#D5B30E #F1D02F #F5DD68 #F9EAA1 #FDF7DB

Accessibility & contrast

On white

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

On black

15.43
#F5DD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD68
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD68#FFFFFF#000000##000000
##F5DD681.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5dd68;
/* rgb */ color: rgb(245, 221, 104);
/* oklch */ color: oklch(89.5% 0.139 97.9);
Tailwind
colors: {
  custom: {
    50: '#fbe797',
    500: '#f5dd68',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd68;
$custom-light: #fbe797;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd68",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 104
  },
  "hsl": {
    "h": 49.787,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.89492,
    "c": 0.13891,
    "h": 97.9
  },
  "luminance": 0.72125
}

Semantic roles & 50–950 ramp

primary
#F5DD68
secondary
#334DCE
accent
#28E401
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DD68

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

Preview Lab → · Contrast checker → · Palette generator →

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