#F8E14F#F8E14F

#F8E14F is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 90.3% C 0.161 H 100.2°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#F8E14F
RGBrgb(248, 225, 79)
HSLhsl(52, 92%, 64%)
HSVhsv(52, 68%, 97%)
CMYKcmyk(0%, 9.3%, 68.1%, 2.7%)
CIE-LABlab(89.10, -7.91, 71.00)
CIE-LCHlch(89.10, 71.43, 96.36°)
OKLaboklab(90.33% -0.0285 0.1588)
OKLCHoklch(90.33% 0.161 100.2)
XYZxyz(67.0509, 74.3744, 18.2195)
Luminance0.7437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E14F #4F66F8
analogous
#F88D4F #F8E14F #BBF84F
triadic
#F8E14F #4FF8E1 #E14FF8
tetradic
#F8E14F #4FF88D #4F66F8 #F84FBB
square
#F8E14F #4FF88D #4F66F8 #F84FBB
split-complementary
#F8E14F #4FBBF8 #8D4FF8
monochromatic
#C5AB08 #F6D714 #F8E14F #FAEB8A #FDF5C5

Accessibility & contrast

On white

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

On black

15.87
#F8E14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E14F
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E14F#FFFFFF#000000##000000
##F8E14F1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB3A
Deuteranopia (green-blind)
#FCE458
Tritanopia (blue-blind)
#FFD1C3
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e14f;
/* rgb */ color: rgb(248, 225, 79);
/* oklch */ color: oklch(90.3% 0.161 100.2);
Tailwind
colors: {
  custom: {
    50: '#feea88',
    500: '#f8e14f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e14f;
$custom-light: #feea88;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e14f",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 79
  },
  "hsl": {
    "h": 51.834,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90334,
    "c": 0.1613,
    "h": 100.2
  },
  "luminance": 0.74371
}

Semantic roles & 50–950 ramp

primary
#F8E14F
secondary
#2A3EC2
accent
#1FE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F8E14F

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

Preview Lab → · Contrast checker → · Palette generator →

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