#F5DF84#F5DF84

#F5DF84 is a very light, moderate yellow. Relative luminance 0.739; OKLCH L 90.2% C 0.114 H 96.2°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#F5DF84
RGBrgb(245, 223, 132)
HSLhsl(48, 85%, 74%)
HSVhsv(48, 46%, 96%)
CMYKcmyk(0%, 9%, 46.1%, 3.9%)
CIE-LABlab(88.85, -4.31, 47.14)
CIE-LCHlch(88.85, 47.34, 95.22°)
OKLaboklab(90.25% -0.0122 0.1135)
OKLCHoklch(90.25% 0.114 96.2)
XYZxyz(68.2107, 73.8563, 32.4880)
Luminance0.7385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF84 #849AF5
analogous
#F5A784 #F5DF84 #D2F584
triadic
#F5DF84 #84F5DF #DF84F5
tetradic
#F5DF84 #84F5A7 #849AF5 #F584D2
square
#F5DF84 #84F5A7 #849AF5 #F584D2
split-complementary
#F5DF84 #84D2F5 #A784F5
monochromatic
#EBC113 #F0D04B #F5DF84 #FAEEBD #FDF8E3

Accessibility & contrast

On white

1.33
#F5DF84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#F5DF84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF84
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF84#FFFFFF#000000##000000
##F5DF841.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB7D
Deuteranopia (green-blind)
#F6E288
Tritanopia (blue-blind)
#FFD3C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5df84;
/* rgb */ color: rgb(245, 223, 132);
/* oklch */ color: oklch(90.2% 0.114 96.2);
Tailwind
colors: {
  custom: {
    50: '#fae8a9',
    500: '#f5df84',
    950: '#000000',
  },
}
SCSS
$custom: #f5df84;
$custom-light: #fae8a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df84",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 132
  },
  "hsl": {
    "h": 48.319,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.90247,
    "c": 0.11411,
    "h": 96.2
  },
  "luminance": 0.73854
}

Semantic roles & 50–950 ramp

primary
#F5DF84
secondary
#4C66D1
accent
#2FE104
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5DF84

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

Preview Lab → · Contrast checker → · Palette generator →

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