#F8D15C#F8D15C

#F8D15C is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.3% C 0.141 H 90.7°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#F8D15C
RGBrgb(248, 209, 92)
HSLhsl(45, 92%, 67%)
HSVhsv(45, 63%, 97%)
CMYKcmyk(0%, 15.7%, 62.9%, 2.7%)
CIE-LABlab(85.17, 0.92, 61.53)
CIE-LCHlch(85.17, 61.53, 89.15°)
OKLaboklab(87.26% -0.0017 0.1407)
OKLCHoklch(87.26% 0.141 90.7)
XYZxyz(63.4467, 66.3336, 19.5849)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D15C #5C83F8
analogous
#F8835C #F8D15C #D1F85C
triadic
#F8D15C #5CF8D1 #D15CF8
tetradic
#F8D15C #5CF883 #5C83F8 #F85CD1
square
#F8D15C #5CF883 #5C83F8 #F85CD1
split-complementary
#F8D15C #5CD1F8 #835CF8
monochromatic
#D19F09 #F5C021 #F8D15C #FBE297 #FDF2D1

Accessibility & contrast

On white

1.47
#F8D15C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#F8D15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D15C
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D15C#FFFFFF#000000##000000
##F8D15C1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4F
Deuteranopia (green-blind)
#F0D961
Tritanopia (blue-blind)
#FFC1B8
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f8d15c;
/* rgb */ color: rgb(248, 209, 92);
/* oklch */ color: oklch(87.3% 0.141 90.7);
Tailwind
colors: {
  custom: {
    50: '#fede8f',
    500: '#f8d15c',
    950: '#000000',
  },
}
SCSS
$custom: #f8d15c;
$custom-light: #fede8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d15c",
  "rgb": {
    "r": 248,
    "g": 209,
    "b": 92
  },
  "hsl": {
    "h": 45,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87255,
    "c": 0.14071,
    "h": 90.7
  },
  "luminance": 0.6633
}

Semantic roles & 50–950 ramp

primary
#F8D15C
secondary
#2C54CC
accent
#39E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F8D15C

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

Preview Lab → · Contrast checker → · Palette generator →

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