#F8F267#F8F267

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

Color values

HEX#F8F267
RGBrgb(248, 242, 103)
HSLhsl(58, 91%, 69%)
HSVhsv(58, 58%, 97%)
CMYKcmyk(0%, 2.4%, 58.5%, 2.7%)
CIE-LABlab(93.64, -14.88, 66.10)
CIE-LCHlch(93.64, 67.76, 102.69°)
OKLaboklab(94.01% -0.0458 0.1519)
OKLCHoklch(94.01% 0.159 106.8)
XYZxyz(72.9140, 84.4423, 25.2875)
Luminance0.8444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F267 #676DF8
analogous
#F8AA67 #F8F267 #B6F867
triadic
#F8F267 #67F8F2 #F267F8
tetradic
#F8F267 #67F8AA #676DF8 #F867B6
square
#F8F267 #67F8AA #676DF8 #F867B6
split-complementary
#F8F267 #67B6F8 #AA67F8
monochromatic
#DBD20A #F5ED2C #F8F267 #FBF7A2 #FDFCDC

Accessibility & contrast

On white

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

On black

17.89
#F8F267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F267
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F267#FFFFFF#000000##000000
##F8F2671.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f267;
/* rgb */ color: rgb(248, 242, 103);
/* oklch */ color: oklch(94.0% 0.159 106.8);
Tailwind
colors: {
  custom: {
    50: '#fdf697',
    500: '#f8f267',
    950: '#000000',
  },
}
SCSS
$custom: #f8f267;
$custom-light: #fdf697;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f267",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 57.517,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.94005,
    "c": 0.15863,
    "h": 106.8
  },
  "luminance": 0.8444
}

Semantic roles & 50–950 ramp

primary
#F8F267
secondary
#3238D2
accent
#09E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F267

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

Preview Lab → · Contrast checker → · Palette generator →

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