#F8E165#F8E165

#F8E165 is a very light, vivid yellow. Relative luminance 0.747; OKLCH L 90.5% C 0.145 H 98.9°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#F8E165
RGBrgb(248, 225, 101)
HSLhsl(51, 91%, 68%)
HSVhsv(51, 59%, 97%)
CMYKcmyk(0%, 9.3%, 59.3%, 2.7%)
CIE-LABlab(89.28, -6.61, 62.13)
CIE-LCHlch(89.28, 62.48, 96.07°)
OKLaboklab(90.53% -0.0224 0.1432)
OKLCHoklch(90.53% 0.145 98.9)
XYZxyz(67.9883, 74.7494, 23.1562)
Luminance0.7475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E165 #657CF8
analogous
#F89765 #F8E165 #C5F865
triadic
#F8E165 #65F8E1 #E165F8
tetradic
#F8E165 #65F897 #657CF8 #F865C5
square
#F8E165 #65F897 #657CF8 #F865C5
split-complementary
#F8E165 #65C5F8 #9765F8
monochromatic
#D9B80A #F5D62A #F8E165 #FBECA0 #FDF8DA

Accessibility & contrast

On white

1.32
#F8E165 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#F8E165 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E165
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E165#FFFFFF#000000##000000
##F8E1651.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC58
Deuteranopia (green-blind)
#FBE46B
Tritanopia (blue-blind)
#FFD2C6
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e165;
/* rgb */ color: rgb(248, 225, 101);
/* oklch */ color: oklch(90.5% 0.145 98.9);
Tailwind
colors: {
  custom: {
    50: '#feea95',
    500: '#f8e165',
    950: '#000000',
  },
}
SCSS
$custom: #f8e165;
$custom-light: #feea95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e165",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 101
  },
  "hsl": {
    "h": 50.612,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.9053,
    "c": 0.14491,
    "h": 98.9
  },
  "luminance": 0.74746
}

Semantic roles & 50–950 ramp

primary
#F8E165
secondary
#3049D1
accent
#24E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E165

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

Preview Lab → · Contrast checker → · Palette generator →

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