#F5DF88#F5DF88

#F5DF88 is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 90.3% C 0.110 H 95.6°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#F5DF88
RGBrgb(245, 223, 136)
HSLhsl(48, 84%, 75%)
HSVhsv(48, 44%, 96%)
CMYKcmyk(0%, 9%, 44.5%, 3.9%)
CIE-LABlab(88.91, -3.92, 45.25)
CIE-LCHlch(88.91, 45.41, 94.96°)
OKLaboklab(90.31% -0.0108 0.1095)
OKLCHoklch(90.31% 0.11 95.6)
XYZxyz(68.4896, 73.9679, 33.9573)
Luminance0.7397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DF88 #889EF5
analogous
#F5A988 #F5DF88 #D4F588
triadic
#F5DF88 #88F5DF #DF88F5
tetradic
#F5DF88 #88F5A9 #889EF5 #F588D4
square
#F5DF88 #88F5A9 #889EF5 #F588D4
split-complementary
#F5DF88 #88D4F5 #A988F5
monochromatic
#ECC117 #F0D050 #F5DF88 #FAEEC0 #FDF7E3

Accessibility & contrast

On white

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

On black

15.79
#F5DF88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DF88
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DF88#FFFFFF#000000##000000
##F5DF881.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB81
Deuteranopia (green-blind)
#F5E28B
Tritanopia (blue-blind)
#FFD3CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f5df88;
/* rgb */ color: rgb(245, 223, 136);
/* oklch */ color: oklch(90.3% 0.110 95.6);
Tailwind
colors: {
  custom: {
    50: '#fae8ac',
    500: '#f5df88',
    950: '#000000',
  },
}
SCSS
$custom: #f5df88;
$custom-light: #fae8ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f5df88",
  "rgb": {
    "r": 245,
    "g": 223,
    "b": 136
  },
  "hsl": {
    "h": 47.89,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.90306,
    "c": 0.10998,
    "h": 95.6
  },
  "luminance": 0.73965
}

Semantic roles & 50–950 ramp

primary
#F5DF88
secondary
#4F6AD2
accent
#31E105
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5DF88

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

Preview Lab → · Contrast checker → · Palette generator →

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