#F8E27D#F8E27D

#F8E27D is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 91.0% C 0.124 H 97.3°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#F8E27D
RGBrgb(248, 226, 125)
HSLhsl(49, 90%, 73%)
HSVhsv(49, 50%, 97%)
CMYKcmyk(0%, 8.9%, 49.6%, 2.7%)
CIE-LABlab(89.78, -5.26, 51.71)
CIE-LCHlch(89.78, 51.98, 95.81°)
OKLaboklab(91.01% -0.0158 0.123)
OKLCHoklch(91.01% 0.124 97.3)
XYZxyz(69.6116, 75.8325, 30.3684)
Luminance0.7583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E27D #7D93F8
analogous
#F8A47D #F8E27D #D1F87D
triadic
#F8E27D #7DF8E2 #E27DF8
tetradic
#F8E27D #7DF8A4 #7D93F8 #F87DD1
square
#F8E27D #7DF8A4 #7D93F8 #F87DD1
split-complementary
#F8E27D #7DD1F8 #A47DF8
monochromatic
#EEC60D #F5D543 #F8E27D #FBEFB7 #FDF9E2

Accessibility & contrast

On white

1.30
#F8E27D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#F8E27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E27D
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E27D#FFFFFF#000000##000000
##F8E27D1.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD74
Deuteranopia (green-blind)
#FAE581
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e27d;
/* rgb */ color: rgb(248, 226, 125);
/* oklch */ color: oklch(91.0% 0.124 97.3);
Tailwind
colors: {
  custom: {
    50: '#fdeaa5',
    500: '#f8e27d',
    950: '#000000',
  },
}
SCSS
$custom: #f8e27d;
$custom-light: #fdeaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e27d",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 125
  },
  "hsl": {
    "h": 49.268,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91013,
    "c": 0.12406,
    "h": 97.3
  },
  "luminance": 0.7583
}

Semantic roles & 50–950 ramp

primary
#F8E27D
secondary
#455ED4
accent
#29E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E27D

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

Preview Lab → · Contrast checker → · Palette generator →

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