#F8E367#F8E367

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

Color values

HEX#F8E367
RGBrgb(248, 227, 103)
HSLhsl(51, 91%, 69%)
HSVhsv(51, 58%, 97%)
CMYKcmyk(0%, 8.5%, 58.5%, 2.7%)
CIE-LABlab(89.80, -7.47, 61.84)
CIE-LCHlch(89.80, 62.29, 96.89°)
OKLaboklab(90.95% -0.0246 0.1428)
OKLCHoklch(90.95% 0.145 99.8)
XYZxyz(68.6313, 75.8767, 23.8599)
Luminance0.7587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E367 #677CF8
analogous
#F89B67 #F8E367 #C5F867
triadic
#F8E367 #67F8E3 #E367F8
tetradic
#F8E367 #67F89B #677CF8 #F867C5
square
#F8E367 #67F89B #677CF8 #F867C5
split-complementary
#F8E367 #67C5F8 #9B67F8
monochromatic
#DBBC0A #F5D82C #F8E367 #FBEEA2 #FDF9DC

Accessibility & contrast

On white

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

On black

16.17
#F8E367 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E367
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E367#FFFFFF#000000##000000
##F8E3671.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD5A
Deuteranopia (green-blind)
#FCE56D
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e367;
/* rgb */ color: rgb(248, 227, 103);
/* oklch */ color: oklch(91.0% 0.145 99.8);
Tailwind
colors: {
  custom: {
    50: '#fdeb96',
    500: '#f8e367',
    950: '#000000',
  },
}
SCSS
$custom: #f8e367;
$custom-light: #fdeb96;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e367",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 103
  },
  "hsl": {
    "h": 51.31,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.90954,
    "c": 0.14491,
    "h": 99.8
  },
  "luminance": 0.75874
}

Semantic roles & 50–950 ramp

primary
#F8E367
secondary
#3249D2
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E367

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

Preview Lab → · Contrast checker → · Palette generator →

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