#F8D55F#F8D55F

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

Color values

HEX#F8D55F
RGBrgb(248, 213, 95)
HSLhsl(46, 92%, 67%)
HSVhsv(46, 62%, 97%)
CMYKcmyk(0%, 14.1%, 61.7%, 2.7%)
CIE-LABlab(86.19, -0.94, 61.34)
CIE-LCHlch(86.19, 61.35, 90.88°)
OKLaboklab(88.07% -0.0067 0.1407)
OKLCHoklch(88.07% 0.141 92.7)
XYZxyz(64.5742, 68.3746, 20.6206)
Luminance0.6837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D55F #5F82F8
analogous
#F8895F #F8D55F #CEF85F
triadic
#F8D55F #5FF8D5 #D55FF8
tetradic
#F8D55F #5FF889 #5F82F8 #F85FCE
square
#F8D55F #5FF889 #5F82F8 #F85FCE
split-complementary
#F8D55F #5FCEF8 #895FF8
monochromatic
#D3A509 #F5C624 #F8D55F #FBE49A #FDF4D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8D55F#FFFFFF#000000##000000
##F8D55F1.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)
#EAD252
Deuteranopia (green-blind)
#F2DC64
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f8d55f;
/* rgb */ color: rgb(248, 213, 95);
/* oklch */ color: oklch(88.1% 0.141 92.7);
Tailwind
colors: {
  custom: {
    50: '#fee191',
    500: '#f8d55f',
    950: '#000000',
  },
}
SCSS
$custom: #f8d55f;
$custom-light: #fee191;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d55f",
  "rgb": {
    "r": 248,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 46.275,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.88074,
    "c": 0.14088,
    "h": 92.7
  },
  "luminance": 0.68371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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