#FFF28F#FFF28F

#FFF28F is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 95.1% C 0.121 H 101.8°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#FFF28F
RGBrgb(255, 242, 143)
HSLhsl(53, 100%, 78%)
HSVhsv(53, 44%, 100%)
CMYKcmyk(0%, 5.1%, 43.9%, 0%)
CIE-LABlab(94.63, -8.84, 49.17)
CIE-LCHlch(94.63, 49.96, 100.19°)
OKLaboklab(95.07% -0.0248 0.1186)
OKLCHoklch(95.07% 0.121 101.8)
XYZxyz(77.9519, 86.7498, 38.6194)
Luminance0.8675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF28F #8F9CFF
analogous
#FFBA8F #FFF28F #D4FF8F
triadic
#FFF28F #8FFFF2 #F28FFF
tetradic
#FFF28F #8FFFBA #8F9CFF #FF8FD4
square
#FFF28F #8FFFBA #8F9CFF #FF8FD4
split-complementary
#FFF28F #8FD4FF #BA8FFF
monochromatic
#FFE415 #FFEB52 #FFF28F #FFF9CC #FFFBE0

Accessibility & contrast

On white

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

On black

18.35
#FFF28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF28F
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF28F#FFFFFF#000000##000000
##FFF28F1.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC87
Deuteranopia (green-blind)
#FFF293
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff28f;
/* rgb */ color: rgb(255, 242, 143);
/* oklch */ color: oklch(95.1% 0.121 101.8);
Tailwind
colors: {
  custom: {
    50: '#fff6b1',
    500: '#fff28f',
    950: '#000000',
  },
}
SCSS
$custom: #fff28f;
$custom-light: #fff6b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fff28f",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 143
  },
  "hsl": {
    "h": 53.036,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.95066,
    "c": 0.12115,
    "h": 101.8
  },
  "luminance": 0.86747
}

Semantic roles & 50–950 ramp

primary
#FFF28F
secondary
#5262E0
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF28F

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

Preview Lab → · Contrast checker → · Palette generator →

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