#F5DC84#F5DC84

#F5DC84 is a very light, moderate yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.112 H 94.0°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#F5DC84
RGBrgb(245, 220, 132)
HSLhsl(47, 85%, 74%)
HSVhsv(47, 46%, 96%)
CMYKcmyk(0%, 10.2%, 46.1%, 3.9%)
CIE-LABlab(88.10, -2.79, 46.20)
CIE-LCHlch(88.10, 46.28, 93.45°)
OKLaboklab(89.65% -0.0078 0.1113)
OKLCHoklch(89.65% 0.112 94)
XYZxyz(67.4162, 72.2675, 32.2232)
Luminance0.7227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC84 #849DF5
analogous
#F5A484 #F5DC84 #D5F584
triadic
#F5DC84 #84F5DC #DC84F5
tetradic
#F5DC84 #84F5A4 #849DF5 #F584D5
square
#F5DC84 #84F5A4 #849DF5 #F584D5
split-complementary
#F5DC84 #84D5F5 #A484F5
monochromatic
#EBBC13 #F0CC4B #F5DC84 #FAECBD #FDF7E3

Accessibility & contrast

On white

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

On black

15.45
#F5DC84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC84
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC84#FFFFFF#000000##000000
##F5DC841.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD87D
Deuteranopia (green-blind)
#F3E087
Tritanopia (blue-blind)
#FFD0C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f5dc84;
/* rgb */ color: rgb(245, 220, 132);
/* oklch */ color: oklch(89.6% 0.112 94.0);
Tailwind
colors: {
  custom: {
    50: '#fae6a9',
    500: '#f5dc84',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc84;
$custom-light: #fae6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc84",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 132
  },
  "hsl": {
    "h": 46.726,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89648,
    "c": 0.11161,
    "h": 94
  },
  "luminance": 0.72265
}

Semantic roles & 50–950 ramp

primary
#F5DC84
secondary
#4C69D1
accent
#35E104
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F5DC84

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

Preview Lab → · Contrast checker → · Palette generator →

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