#F8E25C#F8E25C

#F8E25C is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.6% C 0.153 H 100.0°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#F8E25C
RGBrgb(248, 226, 92)
HSLhsl(52, 92%, 67%)
HSVhsv(52, 63%, 97%)
CMYKcmyk(0%, 8.9%, 62.9%, 2.7%)
CIE-LABlab(89.45, -7.69, 66.17)
CIE-LCHlch(89.45, 66.61, 96.63°)
OKLaboklab(90.65% -0.0265 0.1506)
OKLCHoklch(90.65% 0.153 100)
XYZxyz(67.8423, 75.1248, 21.0501)
Luminance0.7512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E25C #5C72F8
analogous
#F8945C #F8E25C #C0F85C
triadic
#F8E25C #5CF8E2 #E25CF8
tetradic
#F8E25C #5CF894 #5C72F8 #F85CC0
square
#F8E25C #5CF894 #5C72F8 #F85CC0
split-complementary
#F8E25C #5CC0F8 #945CF8
monochromatic
#D1B409 #F5D821 #F8E25C #FBEC97 #FDF7D1

Accessibility & contrast

On white

1.31
#F8E25C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#F8E25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E25C
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E25C#FFFFFF#000000##000000
##F8E25C1.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DC4C
Deuteranopia (green-blind)
#FCE463
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e25c;
/* rgb */ color: rgb(248, 226, 92);
/* oklch */ color: oklch(90.6% 0.153 100.0);
Tailwind
colors: {
  custom: {
    50: '#feea90',
    500: '#f8e25c',
    950: '#000000',
  },
}
SCSS
$custom: #f8e25c;
$custom-light: #feea90;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e25c",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 92
  },
  "hsl": {
    "h": 51.538,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90645,
    "c": 0.15287,
    "h": 100
  },
  "luminance": 0.75122
}

Semantic roles & 50–950 ramp

primary
#F8E25C
secondary
#2C43CC
accent
#20E600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F8E25C

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

Preview Lab → · Contrast checker → · Palette generator →

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