#F8E36D#F8E36D

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

Color values

HEX#F8E36D
RGBrgb(248, 227, 109)
HSLhsl(51, 91%, 70%)
HSVhsv(51, 56%, 97%)
CMYKcmyk(0%, 8.5%, 56%, 2.7%)
CIE-LABlab(89.86, -7.04, 59.23)
CIE-LCHlch(89.86, 59.65, 96.78°)
OKLaboklab(91.02% -0.0227 0.1379)
OKLCHoklch(91.02% 0.14 99.4)
XYZxyz(68.9433, 76.0015, 25.5032)
Luminance0.7600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E36D #6D82F8
analogous
#F89D6D #F8E36D #C8F86D
triadic
#F8E36D #6DF8E3 #E36DF8
tetradic
#F8E36D #6DF89D #6D82F8 #F86DC8
square
#F8E36D #6DF89D #6D82F8 #F86DC8
split-complementary
#F8E36D #6DC8F8 #9D6DF8
monochromatic
#E0C00B #F5D833 #F8E36D #FBEEA7 #FEF9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8E36D#FFFFFF#000000##000000
##F8E36D1.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)
#F6DD61
Deuteranopia (green-blind)
#FCE573
Tritanopia (blue-blind)
#FFD5C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e36d;
/* rgb */ color: rgb(248, 227, 109);
/* oklch */ color: oklch(91.0% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#fdeb9a',
    500: '#f8e36d',
    950: '#000000',
  },
}
SCSS
$custom: #f8e36d;
$custom-light: #fdeb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e36d",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 109
  },
  "hsl": {
    "h": 50.935,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.91018,
    "c": 0.13977,
    "h": 99.4
  },
  "luminance": 0.75999
}

Semantic roles & 50–950 ramp

primary
#F8E36D
secondary
#374ED2
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E36D

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

Preview Lab → · Contrast checker → · Palette generator →

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