#F5DD72#F5DD72

#F5DD72 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.130 H 96.9°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F5DD72
RGBrgb(245, 221, 114)
HSLhsl(49, 87%, 70%)
HSVhsv(49, 53%, 96%)
CMYKcmyk(0%, 9.8%, 53.5%, 3.9%)
CIE-LABlab(88.13, -4.86, 54.87)
CIE-LCHlch(88.13, 55.08, 95.06°)
OKLaboklab(89.61% -0.0157 0.129)
OKLCHoklch(89.61% 0.13 96.9)
XYZxyz(66.5523, 72.3431, 26.3743)
Luminance0.7234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DD72 #728AF5
analogous
#F59C72 #F5DD72 #CBF572
triadic
#F5DD72 #72F5DD #DD72F5
tetradic
#F5DD72 #72F59C #728AF5 #F572CB
square
#F5DD72 #72F59C #728AF5 #F572CB
split-complementary
#F5DD72 #72CBF5 #9C72F5
monochromatic
#DDB710 #F1CF39 #F5DD72 #F9EBAB #FDF8E2

Accessibility & contrast

On white

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

On black

15.47
#F5DD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DD72
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DD72#FFFFFF#000000##000000
##F5DD721.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD868
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dd72;
/* rgb */ color: rgb(245, 221, 114);
/* oklch */ color: oklch(89.6% 0.130 96.9);
Tailwind
colors: {
  custom: {
    50: '#fbe79d',
    500: '#f5dd72',
    950: '#000000',
  },
}
SCSS
$custom: #f5dd72;
$custom-light: #fbe79d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dd72",
  "rgb": {
    "r": 245,
    "g": 221,
    "b": 114
  },
  "hsl": {
    "h": 49.008,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89607,
    "c": 0.12999,
    "h": 96.9
  },
  "luminance": 0.7234
}

Semantic roles & 50–950 ramp

primary
#F5DD72
secondary
#3C57CF
accent
#2BE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DD72

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

Preview Lab → · Contrast checker → · Palette generator →

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