#F8F29B#F8F29B

#F8F29B is a very light, moderate yellow. Relative luminance 0.858; OKLCH L 94.7% C 0.108 H 104.9°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#F8F29B
RGBrgb(248, 242, 155)
HSLhsl(56, 87%, 79%)
HSVhsv(56, 38%, 97%)
CMYKcmyk(0%, 2.4%, 37.5%, 2.7%)
CIE-LABlab(94.24, -10.31, 42.71)
CIE-LCHlch(94.24, 43.94, 103.57°)
OKLaboklab(94.67% -0.0278 0.1046)
OKLCHoklch(94.67% 0.108 104.9)
XYZxyz(76.3810, 85.8291, 43.5471)
Luminance0.8583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F29B #9BA1F8
analogous
#F8C49B #F8F29B #D0F89B
triadic
#F8F29B #9BF8F2 #F29BF8
tetradic
#F8F29B #9BF8C4 #9BA1F8 #F89BD0
square
#F8F29B #9BF8C4 #9BA1F8 #F89BD0
split-complementary
#F8F29B #9BD0F8 #C49BF8
monochromatic
#F0E329 #F4EB62 #F8F29B #FCF9D4 #FDFBE2

Accessibility & contrast

On white

1.16
#F8F29B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#F8F29B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F29B
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F29B#FFFFFF#000000##000000
##F8F29B1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC95
Deuteranopia (green-blind)
#FFF19F
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f29b;
/* rgb */ color: rgb(248, 242, 155);
/* oklch */ color: oklch(94.7% 0.108 104.9);
Tailwind
colors: {
  custom: {
    50: '#fcf6b9',
    500: '#f8f29b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f29b;
$custom-light: #fcf6b9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f29b",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 155
  },
  "hsl": {
    "h": 56.129,
    "s": 86.916,
    "l": 79.02
  },
  "oklch": {
    "l": 0.94673,
    "c": 0.10826,
    "h": 104.9
  },
  "luminance": 0.85827
}

Semantic roles & 50–950 ramp

primary
#F8F29B
secondary
#5F67D8
accent
#11E302
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F29B

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

Preview Lab → · Contrast checker → · Palette generator →

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