#F5DE72#F5DE72

#F5DE72 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.8% C 0.131 H 97.5°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#F5DE72
RGBrgb(245, 222, 114)
HSLhsl(49, 87%, 70%)
HSVhsv(49, 53%, 96%)
CMYKcmyk(0%, 9.4%, 53.5%, 3.9%)
CIE-LABlab(88.39, -5.36, 55.17)
CIE-LCHlch(88.39, 55.43, 95.55°)
OKLaboklab(89.81% -0.0171 0.1297)
OKLCHoklch(89.81% 0.131 97.5)
XYZxyz(66.8171, 72.8727, 26.4626)
Luminance0.7287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE72 #7289F5
analogous
#F59D72 #F5DE72 #CAF572
triadic
#F5DE72 #72F5DE #DE72F5
tetradic
#F5DE72 #72F59D #7289F5 #F572CA
square
#F5DE72 #72F59D #7289F5 #F572CA
split-complementary
#F5DE72 #72CAF5 #9D72F5
monochromatic
#DDB910 #F1D139 #F5DE72 #F9EBAB #FDF8E2

Accessibility & contrast

On white

1.35
#F5DE72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#F5DE72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE72
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE72#FFFFFF#000000##000000
##F5DE721.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D968
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#FFD0C5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5de72;
/* rgb */ color: rgb(245, 222, 114);
/* oklch */ color: oklch(89.8% 0.131 97.5);
Tailwind
colors: {
  custom: {
    50: '#fbe89d',
    500: '#f5de72',
    950: '#000000',
  },
}
SCSS
$custom: #f5de72;
$custom-light: #fbe89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de72",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 114
  },
  "hsl": {
    "h": 49.466,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89807,
    "c": 0.13081,
    "h": 97.5
  },
  "luminance": 0.7287
}

Semantic roles & 50–950 ramp

primary
#F5DE72
secondary
#3C56CF
accent
#2AE302
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F5DE72

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

Preview Lab → · Contrast checker → · Palette generator →

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