#F8DC6E#F8DC6E

#F8DC6E is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.6% C 0.133 H 95.3°. Best body text is #000000 at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#F8DC6E
RGBrgb(248, 220, 110)
HSLhsl(48, 91%, 70%)
HSVhsv(48, 56%, 97%)
CMYKcmyk(0%, 11.3%, 55.6%, 2.7%)
CIE-LABlab(88.10, -3.45, 56.75)
CIE-LCHlch(88.10, 56.85, 93.47°)
OKLaboklab(89.63% -0.0122 0.1327)
OKLCHoklch(89.63% 0.133 95.3)
XYZxyz(67.1217, 72.2717, 25.1631)
Luminance0.7227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC6E #6E8AF8
analogous
#F8976E #F8DC6E #CFF86E
triadic
#F8DC6E #6EF8DC #DC6EF8
tetradic
#F8DC6E #6EF897 #6E8AF8 #F86ECF
square
#F8DC6E #6EF897 #6E8AF8 #F86ECF
split-complementary
#F8DC6E #6ECFF8 #976EF8
monochromatic
#E1B50B #F5CE34 #F8DC6E #FBEAA8 #FEF8E2

Accessibility & contrast

On white

1.36
#F8DC6E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.45
#F8DC6E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC6E
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC6E#FFFFFF#000000##000000
##F8DC6E1.001.3615.4515.45
#FFFFFF1.361.0021.0021.00
#00000015.4521.001.001.00
##00000015.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD863
Deuteranopia (green-blind)
#F6E173
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc6e;
/* rgb */ color: rgb(248, 220, 110);
/* oklch */ color: oklch(89.6% 0.133 95.3);
Tailwind
colors: {
  custom: {
    50: '#fde69b',
    500: '#f8dc6e',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc6e;
$custom-light: #fde69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc6e",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 110
  },
  "hsl": {
    "h": 47.826,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89628,
    "c": 0.13321,
    "h": 95.3
  },
  "luminance": 0.72269
}

Semantic roles & 50–950 ramp

primary
#F8DC6E
secondary
#3857D3
accent
#2FE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F8DC6E

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

Preview Lab → · Contrast checker → · Palette generator →

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