#F5F688#F5F688

#F5F688 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 95.0% C 0.133 H 109.1°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#F5F688
RGBrgb(245, 246, 136)
HSLhsl(61, 86%, 75%)
HSVhsv(61, 45%, 96%)
CMYKcmyk(0.4%, 0%, 44.7%, 3.5%)
CIE-LABlab(94.78, -15.35, 52.52)
CIE-LCHlch(94.78, 54.72, 106.30°)
OKLaboklab(94.97% -0.0436 0.1257)
OKLCHoklch(94.97% 0.133 109.1)
XYZxyz(75.0573, 87.1032, 36.1465)
Luminance0.8710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F688 #8988F6
analogous
#F6C088 #F5F688 #BEF688
triadic
#F5F688 #88F5F6 #F688F5
tetradic
#F5F688 #88F6C0 #8988F6 #F688BE
square
#F5F688 #88F6C0 #8988F6 #F688BE
split-complementary
#F5F688 #88BEF6 #C088F6
monochromatic
#EBED16 #F0F24F #F5F688 #FAFAC1 #FDFDE3

Accessibility & contrast

On white

1.14
#F5F688 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.42
#F5F688 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F688
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F688#FFFFFF#000000##000000
##F5F6881.001.1418.4218.42
#FFFFFF1.141.0021.0021.00
#00000018.4221.001.001.00
##00000018.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7F
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f688;
/* rgb */ color: rgb(245, 246, 136);
/* oklch */ color: oklch(95.0% 0.133 109.1);
Tailwind
colors: {
  custom: {
    50: '#faf9ad',
    500: '#f5f688',
    950: '#000000',
  },
}
SCSS
$custom: #f5f688;
$custom-light: #faf9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f688",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 136
  },
  "hsl": {
    "h": 60.545,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94967,
    "c": 0.13306,
    "h": 109.1
  },
  "luminance": 0.87102
}

Semantic roles & 50–950 ramp

primary
#F5F688
secondary
#504FD3
accent
#03E205
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F688

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

Preview Lab → · Contrast checker → · Palette generator →

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