#F8D55E#F8D55E

#F8D55E is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 88.1% C 0.142 H 92.8°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#F8D55E
RGBrgb(248, 213, 94)
HSLhsl(46, 92%, 67%)
HSVhsv(46, 62%, 97%)
CMYKcmyk(0%, 14.1%, 62.1%, 2.7%)
CIE-LABlab(86.18, -1.00, 61.77)
CIE-LCHlch(86.18, 61.78, 90.93°)
OKLaboklab(88.06% -0.007 0.1415)
OKLCHoklch(88.06% 0.142 92.8)
XYZxyz(64.5290, 68.3565, 20.3827)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D55E #5E81F8
analogous
#F8885E #F8D55E #CEF85E
triadic
#F8D55E #5EF8D5 #D55EF8
tetradic
#F8D55E #5EF888 #5E81F8 #F85ECE
square
#F8D55E #5EF888 #5E81F8 #F85ECE
split-complementary
#F8D55E #5ECEF8 #885EF8
monochromatic
#D2A509 #F5C623 #F8D55E #FBE499 #FDF4D3

Accessibility & contrast

On white

1.43
#F8D55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#F8D55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D55E
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D55E#FFFFFF#000000##000000
##F8D55E1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD251
Deuteranopia (green-blind)
#F2DC63
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f8d55e;
/* rgb */ color: rgb(248, 213, 94);
/* oklch */ color: oklch(88.1% 0.142 92.8);
Tailwind
colors: {
  custom: {
    50: '#fee190',
    500: '#f8d55e',
    950: '#000000',
  },
}
SCSS
$custom: #f8d55e;
$custom-light: #fee190;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d55e",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 94
  },
  "hsl": {
    "h": 46.364,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.88064,
    "c": 0.14167,
    "h": 92.8
  },
  "luminance": 0.68353
}

Semantic roles & 50–950 ramp

primary
#F8D55E
secondary
#2D51CD
accent
#34E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D55E

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

Preview Lab → · Contrast checker → · Palette generator →

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