#F8E36A#F8E36A

#F8E36A is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 91.0% C 0.142 H 99.6°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F8E36A
RGBrgb(248, 227, 106)
HSLhsl(51, 91%, 69%)
HSVhsv(51, 57%, 97%)
CMYKcmyk(0%, 8.5%, 57.3%, 2.7%)
CIE-LABlab(89.83, -7.26, 60.54)
CIE-LCHlch(89.83, 60.98, 96.84°)
OKLaboklab(90.99% -0.0237 0.1404)
OKLCHoklch(90.99% 0.142 99.6)
XYZxyz(68.7846, 75.9380, 24.6672)
Luminance0.7593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E36A #6A7FF8
analogous
#F89C6A #F8E36A #C6F86A
triadic
#F8E36A #6AF8E3 #E36AF8
tetradic
#F8E36A #6AF89C #6A7FF8 #F86AC6
square
#F8E36A #6AF89C #6A7FF8 #F86AC6
split-complementary
#F8E36A #6AC6F8 #9C6AF8
monochromatic
#DDBE0A #F5D830 #F8E36A #FBEEA4 #FDF9DF

Accessibility & contrast

On white

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

On black

16.19
#F8E36A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E36A
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E36A#FFFFFF#000000##000000
##F8E36A1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5E
Deuteranopia (green-blind)
#FCE570
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e36a;
/* rgb */ color: rgb(248, 227, 106);
/* oklch */ color: oklch(91.0% 0.142 99.6);
Tailwind
colors: {
  custom: {
    50: '#fdeb98',
    500: '#f8e36a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e36a;
$custom-light: #fdeb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e36a",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 106
  },
  "hsl": {
    "h": 51.127,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90986,
    "c": 0.14236,
    "h": 99.6
  },
  "luminance": 0.75935
}

Semantic roles & 50–950 ramp

primary
#F8E36A
secondary
#344CD2
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E36A

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

Preview Lab → · Contrast checker → · Palette generator →

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