#F5E588#F5E588

#F5E588 is a very light, moderate yellow. Relative luminance 0.772; OKLCH L 91.5% C 0.115 H 99.7°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#F5E588
RGBrgb(245, 229, 136)
HSLhsl(51, 84%, 75%)
HSVhsv(51, 44%, 96%)
CMYKcmyk(0%, 6.5%, 44.5%, 3.9%)
CIE-LABlab(90.43, -6.95, 47.15)
CIE-LCHlch(90.43, 47.66, 98.38°)
OKLaboklab(91.51% -0.0195 0.1137)
OKLCHoklch(91.51% 0.115 99.7)
XYZxyz(70.1212, 77.2310, 34.5011)
Luminance0.7723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E588 #8898F5
analogous
#F5AF88 #F5E588 #CEF588
triadic
#F5E588 #88F5E5 #E588F5
tetradic
#F5E588 #88F5AF #8898F5 #F588CE
square
#F5E588 #88F5AF #8898F5 #F588CE
split-complementary
#F5E588 #88CEF5 #AF88F5
monochromatic
#ECCC17 #F0D950 #F5E588 #FAF1C0 #FDF9E3

Accessibility & contrast

On white

1.28
#F5E588 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#F5E588 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E588
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E588#FFFFFF#000000##000000
##F5E5881.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E081
Deuteranopia (green-blind)
#FAE68C
Tritanopia (blue-blind)
#FFD9CF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e588;
/* rgb */ color: rgb(245, 229, 136);
/* oklch */ color: oklch(91.5% 0.115 99.7);
Tailwind
colors: {
  custom: {
    50: '#faedac',
    500: '#f5e588',
    950: '#000000',
  },
}
SCSS
$custom: #f5e588;
$custom-light: #faedac;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e588",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 136
  },
  "hsl": {
    "h": 51.193,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91509,
    "c": 0.11538,
    "h": 99.7
  },
  "luminance": 0.77229
}

Semantic roles & 50–950 ramp

primary
#F5E588
secondary
#4F62D2
accent
#25E105
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F5E588

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

Preview Lab → · Contrast checker → · Palette generator →

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