#F8E76F#F8E76F

#F8E76F is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.8% C 0.142 H 101.3°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#F8E76F
RGBrgb(248, 231, 111)
HSLhsl(53, 91%, 70%)
HSVhsv(53, 55%, 97%)
CMYKcmyk(0%, 6.9%, 55.2%, 2.7%)
CIE-LABlab(90.90, -8.89, 59.52)
CIE-LCHlch(90.90, 60.18, 98.50°)
OKLaboklab(91.85% -0.0278 0.1388)
OKLCHoklch(91.85% 0.142 101.3)
XYZxyz(70.1589, 78.2586, 26.4456)
Luminance0.7826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E76F #6F80F8
analogous
#F8A36F #F8E76F #C4F86F
triadic
#F8E76F #6FF8E7 #E76FF8
tetradic
#F8E76F #6FF8A3 #6F80F8 #F86FC4
square
#F8E76F #6FF8A3 #6F80F8 #F86FC4
split-complementary
#F8E76F #6FC4F8 #A36FF8
monochromatic
#E2C70B #F5DD35 #F8E76F #FBF1A9 #FEFAE2

Accessibility & contrast

On white

1.26
#F8E76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#F8E76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E76F
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E76F#FFFFFF#000000##000000
##F8E76F1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E163
Deuteranopia (green-blind)
#FFE875
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e76f;
/* rgb */ color: rgb(248, 231, 111);
/* oklch */ color: oklch(91.8% 0.142 101.3);
Tailwind
colors: {
  custom: {
    50: '#fdee9c',
    500: '#f8e76f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e76f;
$custom-light: #fdee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e76f",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 111
  },
  "hsl": {
    "h": 52.555,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91848,
    "c": 0.14151,
    "h": 101.3
  },
  "luminance": 0.78256
}

Semantic roles & 50–950 ramp

primary
#F8E76F
secondary
#384CD3
accent
#1CE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E76F

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

Preview Lab → · Contrast checker → · Palette generator →

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