#F8E265#F8E265

#F8E265 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.7% C 0.146 H 99.4°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#F8E265
RGBrgb(248, 226, 101)
HSLhsl(51, 91%, 68%)
HSVhsv(51, 59%, 97%)
CMYKcmyk(0%, 8.9%, 59.3%, 2.7%)
CIE-LABlab(89.53, -7.11, 62.41)
CIE-LCHlch(89.53, 62.82, 96.50°)
OKLaboklab(90.73% -0.0238 0.1438)
OKLCHoklch(90.73% 0.146 99.4)
XYZxyz(68.2594, 75.2916, 23.2466)
Luminance0.7529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E265 #657BF8
analogous
#F89865 #F8E265 #C5F865
triadic
#F8E265 #65F8E2 #E265F8
tetradic
#F8E265 #65F898 #657BF8 #F865C5
square
#F8E265 #65F898 #657BF8 #F865C5
split-complementary
#F8E265 #65C5F8 #9865F8
monochromatic
#D9BA0A #F5D72A #F8E265 #FBEDA0 #FDF8DA

Accessibility & contrast

On white

1.31
#F8E265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#F8E265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E265
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E265#FFFFFF#000000##000000
##F8E2651.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC58
Deuteranopia (green-blind)
#FCE56B
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e265;
/* rgb */ color: rgb(248, 226, 101);
/* oklch */ color: oklch(90.7% 0.146 99.4);
Tailwind
colors: {
  custom: {
    50: '#feea95',
    500: '#f8e265',
    950: '#000000',
  },
}
SCSS
$custom: #f8e265;
$custom-light: #feea95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e265",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 101
  },
  "hsl": {
    "h": 51.02,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.90732,
    "c": 0.14574,
    "h": 99.4
  },
  "luminance": 0.75289
}

Semantic roles & 50–950 ramp

primary
#F8E265
secondary
#3048D1
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E265

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

Preview Lab → · Contrast checker → · Palette generator →

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