#F8F765#F8F765

#F8F765 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 95.0% C 0.165 H 108.8°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#F8F765
RGBrgb(248, 247, 101)
HSLhsl(60, 91%, 68%)
HSVhsv(60, 59%, 97%)
CMYKcmyk(0%, 0.4%, 59.3%, 2.7%)
CIE-LABlab(94.92, -17.44, 68.33)
CIE-LCHlch(94.92, 70.52, 104.32°)
OKLaboklab(95.02% -0.0532 0.1564)
OKLCHoklch(95.02% 0.165 108.8)
XYZxyz(74.3234, 87.4196, 25.2679)
Luminance0.8742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F765 #6566F8
analogous
#F8AD65 #F8F765 #AFF865
triadic
#F8F765 #65F8F7 #F765F8
tetradic
#F8F765 #65F8AD #6566F8 #F865AF
square
#F8F765 #65F8AD #6566F8 #F865AF
split-complementary
#F8F765 #65AFF8 #AD65F8
monochromatic
#D9D70A #F5F42A #F8F765 #FBFAA0 #FDFDDA

Accessibility & contrast

On white

1.14
#F8F765 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.48
#F8F765 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F765
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F765#FFFFFF#000000##000000
##F8F7651.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE54
Deuteranopia (green-blind)
#FFF36E
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f765;
/* rgb */ color: rgb(248, 247, 101);
/* oklch */ color: oklch(95.0% 0.165 108.8);
Tailwind
colors: {
  custom: {
    50: '#fef996',
    500: '#f8f765',
    950: '#000000',
  },
}
SCSS
$custom: #f8f765;
$custom-light: #fef996;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f765",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 101
  },
  "hsl": {
    "h": 59.592,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.95015,
    "c": 0.16518,
    "h": 108.8
  },
  "luminance": 0.87418
}

Semantic roles & 50–950 ramp

primary
#F8F765
secondary
#3031D1
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F765

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

Preview Lab → · Contrast checker → · Palette generator →

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