#F8E36C#F8E36C

#F8E36C is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 91.0% C 0.141 H 99.4°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#F8E36C
RGBrgb(248, 227, 108)
HSLhsl(51, 91%, 70%)
HSVhsv(51, 56%, 97%)
CMYKcmyk(0%, 8.5%, 56.5%, 2.7%)
CIE-LABlab(89.85, -7.12, 59.67)
CIE-LCHlch(89.85, 60.09, 96.80°)
OKLaboklab(91.01% -0.023 0.1387)
OKLCHoklch(91.01% 0.141 99.4)
XYZxyz(68.8898, 75.9801, 25.2213)
Luminance0.7598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E36C #6C81F8
analogous
#F89D6C #F8E36C #C7F86C
triadic
#F8E36C #6CF8E3 #E36CF8
tetradic
#F8E36C #6CF89D #6C81F8 #F86CC7
square
#F8E36C #6CF89D #6C81F8 #F86CC7
split-complementary
#F8E36C #6CC7F8 #9D6CF8
monochromatic
#DFBF0B #F5D832 #F8E36C #FBEEA6 #FEF9E1

Accessibility & contrast

On white

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

On black

16.20
#F8E36C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E36C
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E36C#FFFFFF#000000##000000
##F8E36C1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD60
Deuteranopia (green-blind)
#FCE572
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e36c;
/* rgb */ color: rgb(248, 227, 108);
/* oklch */ color: oklch(91.0% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#fdeb9a',
    500: '#f8e36c',
    950: '#000000',
  },
}
SCSS
$custom: #f8e36c;
$custom-light: #fdeb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e36c",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 108
  },
  "hsl": {
    "h": 51,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91007,
    "c": 0.14064,
    "h": 99.4
  },
  "luminance": 0.75977
}

Semantic roles & 50–950 ramp

primary
#F8E36C
secondary
#364DD2
accent
#22E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E36C

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

Preview Lab → · Contrast checker → · Palette generator →

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