#F5DC88#F5DC88

#F5DC88 is a very light, moderate yellow. Relative luminance 0.724; OKLCH L 89.7% C 0.107 H 93.4°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#F5DC88
RGBrgb(245, 220, 136)
HSLhsl(46, 84%, 75%)
HSVhsv(46, 44%, 96%)
CMYKcmyk(0%, 10.2%, 44.5%, 3.9%)
CIE-LABlab(88.15, -2.40, 44.29)
CIE-LCHlch(88.15, 44.36, 93.11°)
OKLaboklab(89.71% -0.0063 0.1073)
OKLCHoklch(89.71% 0.108 93.4)
XYZxyz(67.6952, 72.3791, 33.6925)
Luminance0.7238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DC88 #88A1F5
analogous
#F5A688 #F5DC88 #D7F588
triadic
#F5DC88 #88F5DC #DC88F5
tetradic
#F5DC88 #88F5A6 #88A1F5 #F588D7
square
#F5DC88 #88F5A6 #88A1F5 #F588D7
split-complementary
#F5DC88 #88D7F5 #A688F5
monochromatic
#ECBB17 #F0CB50 #F5DC88 #FAEDC0 #FDF7E3

Accessibility & contrast

On white

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

On black

15.48
#F5DC88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DC88
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DC88#FFFFFF#000000##000000
##F5DC881.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5dc88;
/* rgb */ color: rgb(245, 220, 136);
/* oklch */ color: oklch(89.7% 0.107 93.4);
Tailwind
colors: {
  custom: {
    50: '#fae6ac',
    500: '#f5dc88',
    950: '#000000',
  },
}
SCSS
$custom: #f5dc88;
$custom-light: #fae6ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f5dc88",
  "rgb": {
    "r": 245,
    "g": 220,
    "b": 136
  },
  "hsl": {
    "h": 46.239,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89708,
    "c": 0.1075,
    "h": 93.4
  },
  "luminance": 0.72376
}

Semantic roles & 50–950 ramp

primary
#F5DC88
secondary
#4F6DD2
accent
#37E105
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181510
muted
#868481

Preview Lab

Preview with #F5DC88

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

Preview Lab → · Contrast checker → · Palette generator →

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