#F8E19A#F8E19A

#F8E19A is a very light, moderate yellow. Relative luminance 0.761; OKLCH L 91.3% C 0.093 H 92.2°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F8E19A
RGBrgb(248, 225, 154)
HSLhsl(45, 87%, 79%)
HSVhsv(45, 38%, 97%)
CMYKcmyk(0%, 9.3%, 37.9%, 2.7%)
CIE-LABlab(89.93, -1.90, 37.62)
CIE-LCHlch(89.93, 37.67, 92.89°)
OKLaboklab(91.26% -0.0036 0.0929)
OKLCHoklch(91.26% 0.093 92.2)
XYZxyz(71.4708, 76.1424, 41.4977)
Luminance0.7614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E19A #9AB1F8
analogous
#F8B29A #F8E19A #E0F89A
triadic
#F8E19A #9AF8E1 #E19AF8
tetradic
#F8E19A #9AF8B2 #9AB1F8 #F89AE0
square
#F8E19A #9AF8B2 #9AB1F8 #F89AE0
split-complementary
#F8E19A #9AE0F8 #B29AF8
monochromatic
#F0BF28 #F4D061 #F8E19A #FCF2D3 #FDF6E2

Accessibility & contrast

On white

1.29
#F8E19A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F8E19A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E19A
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E19A#FFFFFF#000000##000000
##F8E19A1.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DE95
Deuteranopia (green-blind)
#F6E59C
Tritanopia (blue-blind)
#FFD6CF
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e19a;
/* rgb */ color: rgb(248, 225, 154);
/* oklch */ color: oklch(91.3% 0.093 92.2);
Tailwind
colors: {
  custom: {
    50: '#fceab8',
    500: '#f8e19a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e19a;
$custom-light: #fceab8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e19a",
  "rgb": {
    "r": 248,
    "g": 225,
    "b": 154
  },
  "hsl": {
    "h": 45.319,
    "s": 87.037,
    "l": 78.824
  },
  "oklch": {
    "l": 0.91255,
    "c": 0.09293,
    "h": 92.2
  },
  "luminance": 0.7614
}

Semantic roles & 50–950 ramp

primary
#F8E19A
secondary
#5E7CD8
accent
#39E402
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F8E19A

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

Preview Lab → · Contrast checker → · Palette generator →

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