#F8DB81#F8DB81

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

Color values

HEX#F8DB81
RGBrgb(248, 219, 129)
HSLhsl(45, 89%, 74%)
HSVhsv(45, 48%, 97%)
CMYKcmyk(0%, 11.7%, 48%, 2.7%)
CIE-LABlab(88.07, -1.36, 47.69)
CIE-LCHlch(88.07, 47.71, 91.64°)
OKLaboklab(89.68% -0.0041 0.1144)
OKLCHoklch(89.68% 0.115 92.1)
XYZxyz(68.0076, 72.2074, 31.1198)
Luminance0.7220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB81 #819EF8
analogous
#F8A081 #F8DB81 #DAF881
triadic
#F8DB81 #81F8DB #DB81F8
tetradic
#F8DB81 #81F8A0 #819EF8 #F881DA
square
#F8DB81 #81F8A0 #819EF8 #F881DA
split-complementary
#F8DB81 #81DAF8 #A081F8
monochromatic
#F1BA0D #F5CA47 #F8DB81 #FBECBB #FDF7E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8DB81#FFFFFF#000000##000000
##F8DB811.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)
#EDD87A
Deuteranopia (green-blind)
#F4E184
Tritanopia (blue-blind)
#FFCEC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8db81;
/* rgb */ color: rgb(248, 219, 129);
/* oklch */ color: oklch(89.7% 0.115 92.1);
Tailwind
colors: {
  custom: {
    50: '#fde6a7',
    500: '#f8db81',
    950: '#000000',
  },
}
SCSS
$custom: #f8db81;
$custom-light: #fde6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db81",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 129
  },
  "hsl": {
    "h": 45.378,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.89675,
    "c": 0.11451,
    "h": 92.1
  },
  "luminance": 0.72204
}

Semantic roles & 50–950 ramp

primary
#F8DB81
secondary
#486BD5
accent
#38E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#181510
muted
#868480

Preview Lab

Preview with #F8DB81

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

Preview Lab → · Contrast checker → · Palette generator →

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