#F8E485#F8E485

#F8E485 is a very light, moderate yellow. Relative luminance 0.771; OKLCH L 91.5% C 0.118 H 97.8°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#F8E485
RGBrgb(248, 228, 133)
HSLhsl(50, 89%, 75%)
HSVhsv(50, 46%, 97%)
CMYKcmyk(0%, 8.1%, 46.4%, 2.7%)
CIE-LABlab(90.39, -5.55, 48.61)
CIE-LCHlch(90.39, 48.92, 96.51°)
OKLaboklab(91.52% -0.0159 0.1168)
OKLCHoklch(91.52% 0.118 97.8)
XYZxyz(70.6904, 77.1393, 33.3515)
Luminance0.7714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E485 #8599F8
analogous
#F8AB85 #F8E485 #D3F885
triadic
#F8E485 #85F8E4 #E485F8
tetradic
#F8E485 #85F8AB #8599F8 #F885D3
square
#F8E485 #85F8AB #8599F8 #F885D3
split-complementary
#F8E485 #85D3F8 #AB85F8
monochromatic
#F1CA11 #F5D74B #F8E485 #FBF1BF #FDF9E2

Accessibility & contrast

On white

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

On black

16.43
#F8E485 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E485
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E485#FFFFFF#000000##000000
##F8E4851.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF7D
Deuteranopia (green-blind)
#FAE789
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e485;
/* rgb */ color: rgb(248, 228, 133);
/* oklch */ color: oklch(91.5% 0.118 97.8);
Tailwind
colors: {
  custom: {
    50: '#fcecaa',
    500: '#f8e485',
    950: '#000000',
  },
}
SCSS
$custom: #f8e485;
$custom-light: #fcecaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e485",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 133
  },
  "hsl": {
    "h": 49.565,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.91523,
    "c": 0.11783,
    "h": 97.8
  },
  "luminance": 0.77137
}

Semantic roles & 50–950 ramp

primary
#F8E485
secondary
#4C64D5
accent
#28E600
background
#FFFEFD
surface
#FFFDF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F8E485

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

Preview Lab → · Contrast checker → · Palette generator →

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