#F8F065#F8F065

#F8F065 is a very light, vivid yellow. Relative luminance 0.832; OKLCH L 93.6% C 0.158 H 106.0°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#F8F065
RGBrgb(248, 240, 101)
HSLhsl(57, 91%, 68%)
HSVhsv(57, 59%, 97%)
CMYKcmyk(0%, 3.2%, 59.3%, 2.7%)
CIE-LABlab(93.11, -14.04, 66.36)
CIE-LCHlch(93.11, 67.83, 101.94°)
OKLaboklab(93.58% -0.0436 0.1522)
OKLCHoklch(93.58% 0.158 106)
XYZxyz(72.2228, 83.2186, 24.5678)
Luminance0.8322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F065 #656DF8
analogous
#F8A665 #F8F065 #B6F865
triadic
#F8F065 #65F8F0 #F065F8
tetradic
#F8F065 #65F8A6 #656DF8 #F865B6
square
#F8F065 #65F8A6 #656DF8 #F865B6
split-complementary
#F8F065 #65B6F8 #A665F8
monochromatic
#D9CD0A #F5EA2A #F8F065 #FBF6A0 #FDFBDA

Accessibility & contrast

On white

1.19
#F8F065 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#F8F065 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F065
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F065#FFFFFF#000000##000000
##F8F0651.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE855
Deuteranopia (green-blind)
#FFEE6D
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8f065;
/* rgb */ color: rgb(248, 240, 101);
/* oklch */ color: oklch(93.6% 0.158 106.0);
Tailwind
colors: {
  custom: {
    50: '#fef496',
    500: '#f8f065',
    950: '#000000',
  },
}
SCSS
$custom: #f8f065;
$custom-light: #fef496;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f065",
  "rgb": {
    "r": 248,
    "g": 240,
    "b": 101
  },
  "hsl": {
    "h": 56.735,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.93576,
    "c": 0.15831,
    "h": 106
  },
  "luminance": 0.83216
}

Semantic roles & 50–950 ramp

primary
#F8F065
secondary
#3039D1
accent
#0CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F065

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

Preview Lab → · Contrast checker → · Palette generator →

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