#F8DB80#F8DB80

#F8DB80 is a very light, moderate yellow. Relative luminance 0.722; OKLCH L 89.7% C 0.116 H 92.2°. Best body text is #000000 at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#F8DB80
RGBrgb(248, 219, 128)
HSLhsl(46, 90%, 74%)
HSVhsv(46, 48%, 97%)
CMYKcmyk(0%, 11.7%, 48.4%, 2.7%)
CIE-LABlab(88.06, -1.45, 48.16)
CIE-LCHlch(88.06, 48.18, 91.73°)
OKLaboklab(89.66% -0.0045 0.1154)
OKLCHoklch(89.66% 0.116 92.2)
XYZxyz(67.9415, 72.1809, 30.7714)
Luminance0.7218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB80 #809DF8
analogous
#F89F80 #F8DB80 #D9F880
triadic
#F8DB80 #80F8DB #DB80F8
tetradic
#F8DB80 #80F89F #809DF8 #F880D9
square
#F8DB80 #80F89F #809DF8 #F880D9
split-complementary
#F8DB80 #80D9F8 #9F80F8
monochromatic
#F0B90D #F5CB46 #F8DB80 #FBEBBA #FDF7E2

Accessibility & contrast

On white

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

On black

15.44
#F8DB80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB80
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB80#FFFFFF#000000##000000
##F8DB801.001.3615.4415.44
#FFFFFF1.361.0021.0021.00
#00000015.4421.001.001.00
##00000015.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD878
Deuteranopia (green-blind)
#F4E183
Tritanopia (blue-blind)
#FFCEC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8db80;
/* rgb */ color: rgb(248, 219, 128);
/* oklch */ color: oklch(89.7% 0.116 92.2);
Tailwind
colors: {
  custom: {
    50: '#fde6a6',
    500: '#f8db80',
    950: '#000000',
  },
}
SCSS
$custom: #f8db80;
$custom-light: #fde6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db80",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 128
  },
  "hsl": {
    "h": 45.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.8966,
    "c": 0.1155,
    "h": 92.2
  },
  "luminance": 0.72178
}

Semantic roles & 50–950 ramp

primary
#F8DB80
secondary
#476AD5
accent
#37E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DB80

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

Preview Lab → · Contrast checker → · Palette generator →

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