#F5DF72#F5DF72

#F5DF72 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 90.0% C 0.132 H 98.1°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#F5DF72
RGBrgb(245, 223, 114)
HSLhsl(50, 87%, 70%)
HSVhsv(50, 53%, 96%)
CMYKcmyk(0%, 9%, 53.5%, 3.9%)
CIE-LABlab(88.64, -5.86, 55.46)
CIE-LCHlch(88.64, 55.77, 96.04°)
OKLaboklab(90.01% -0.0186 0.1303)
OKLCHoklch(90.01% 0.132 98.1)
XYZxyz(67.0835, 73.4054, 26.5514)
Luminance0.7340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF72 #7288F5
analogous
#F59E72 #F5DF72 #C9F572
triadic
#F5DF72 #72F5DF #DF72F5
tetradic
#F5DF72 #72F59E #7288F5 #F572C9
square
#F5DF72 #72F59E #7288F5 #F572C9
split-complementary
#F5DF72 #72C9F5 #9E72F5
monochromatic
#DDBA10 #F1D239 #F5DF72 #F9ECAB #FDF9E2

Accessibility & contrast

On white

1.34
#F5DF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#F5DF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF72
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF72#FFFFFF#000000##000000
##F5DF721.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA68
Deuteranopia (green-blind)
#F7E277
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5df72;
/* rgb */ color: rgb(245, 223, 114);
/* oklch */ color: oklch(90.0% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#fbe89d',
    500: '#f5df72',
    950: '#000000',
  },
}
SCSS
$custom: #f5df72;
$custom-light: #fbe89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df72",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 114
  },
  "hsl": {
    "h": 49.924,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90008,
    "c": 0.13165,
    "h": 98.1
  },
  "luminance": 0.73403
}

Semantic roles & 50–950 ramp

primary
#F5DF72
secondary
#3C55CF
accent
#28E302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DF72

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

Preview Lab → · Contrast checker → · Palette generator →

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