#FFF288#FFF288

#FFF288 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 95.0% C 0.128 H 102.3°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FFF288
RGBrgb(255, 242, 136)
HSLhsl(53, 100%, 77%)
HSVhsv(53, 47%, 100%)
CMYKcmyk(0%, 5.1%, 46.7%, 0%)
CIE-LABlab(94.54, -9.49, 52.41)
CIE-LCHlch(94.54, 53.26, 100.27°)
OKLaboklab(94.97% -0.0274 0.1253)
OKLCHoklch(94.97% 0.128 102.3)
XYZxyz(77.4380, 86.5443, 35.9133)
Luminance0.8654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF288 #8895FF
analogous
#FFB788 #FFF288 #D1FF88
triadic
#FFF288 #88FFF2 #F288FF
tetradic
#FFF288 #88FFB7 #8895FF #FF88D1
square
#FFF288 #88FFB7 #8895FF #FF88D1
split-complementary
#FFF288 #88D1FF #B788FF
monochromatic
#FFE50E #FFEB4B #FFF288 #FFF9C5 #FFFCE0

Accessibility & contrast

On white

1.15
#FFF288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#FFF288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF288
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF288#FFFFFF#000000##000000
##FFF2881.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7F
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FFE5D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fff288;
/* rgb */ color: rgb(255, 242, 136);
/* oklch */ color: oklch(95.0% 0.128 102.3);
Tailwind
colors: {
  custom: {
    50: '#fff6ad',
    500: '#fff288',
    950: '#000000',
  },
}
SCSS
$custom: #fff288;
$custom-light: #fff6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#fff288",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 136
  },
  "hsl": {
    "h": 53.445,
    "s": 100,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94968,
    "c": 0.12828,
    "h": 102.3
  },
  "luminance": 0.86542
}

Semantic roles & 50–950 ramp

primary
#FFF288
secondary
#4C5CDF
accent
#19E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF288

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

Preview Lab → · Contrast checker → · Palette generator →

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