#F8F265#F8F265

#F8F265 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 94.0% C 0.160 H 106.8°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#F8F265
RGBrgb(248, 242, 101)
HSLhsl(58, 91%, 68%)
HSVhsv(58, 59%, 97%)
CMYKcmyk(0%, 2.4%, 59.3%, 2.7%)
CIE-LABlab(93.63, -15.02, 66.93)
CIE-LCHlch(93.63, 68.59, 102.65°)
OKLaboklab(93.99% -0.0463 0.1534)
OKLCHoklch(93.99% 0.16 106.8)
XYZxyz(72.8149, 84.4026, 24.7651)
Luminance0.8440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F265 #656BF8
analogous
#F8A865 #F8F265 #B4F865
triadic
#F8F265 #65F8F2 #F265F8
tetradic
#F8F265 #65F8A8 #656BF8 #F865B4
square
#F8F265 #65F8A8 #656BF8 #F865B4
split-complementary
#F8F265 #65B4F8 #A865F8
monochromatic
#D9D00A #F5ED2A #F8F265 #FBF7A0 #FDFCDA

Accessibility & contrast

On white

1.17
#F8F265 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#F8F265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F265
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F265#FFFFFF#000000##000000
##F8F2651.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE955
Deuteranopia (green-blind)
#FFEF6D
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f265;
/* rgb */ color: rgb(248, 242, 101);
/* oklch */ color: oklch(94.0% 0.160 106.8);
Tailwind
colors: {
  custom: {
    50: '#fef696',
    500: '#f8f265',
    950: '#000000',
  },
}
SCSS
$custom: #f8f265;
$custom-light: #fef696;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f265",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 101
  },
  "hsl": {
    "h": 57.551,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93986,
    "c": 0.16024,
    "h": 106.8
  },
  "luminance": 0.844
}

Semantic roles & 50–950 ramp

primary
#F8F265
secondary
#3036D1
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F265

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

Preview Lab → · Contrast checker → · Palette generator →

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