#F8DB4F#F8DB4F

#F8DB4F is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 89.1% C 0.157 H 97.3°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#F8DB4F
RGBrgb(248, 219, 79)
HSLhsl(50, 92%, 64%)
HSVhsv(50, 68%, 97%)
CMYKcmyk(0%, 11.7%, 68.1%, 2.7%)
CIE-LABlab(87.58, -4.90, 69.45)
CIE-LCHlch(87.58, 69.62, 94.04°)
OKLaboklab(89.13% -0.0199 0.1555)
OKLCHoklch(89.13% 0.157 97.3)
XYZxyz(65.4573, 71.1873, 17.6883)
Luminance0.7118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DB4F #4F6CF8
analogous
#F8874F #F8DB4F #C1F84F
triadic
#F8DB4F #4FF8DB #DB4FF8
tetradic
#F8DB4F #4FF887 #4F6CF8 #F84FC1
square
#F8DB4F #4FF887 #4F6CF8 #F84FC1
split-complementary
#F8DB4F #4FC1F8 #874FF8
monochromatic
#C5A408 #F6CF14 #F8DB4F #FAE78A #FDF3C5

Accessibility & contrast

On white

1.38
#F8DB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#F8DB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DB4F
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DB4F#FFFFFF#000000##000000
##F8DB4F1.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63C
Deuteranopia (green-blind)
#F8E057
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8db4f;
/* rgb */ color: rgb(248, 219, 79);
/* oklch */ color: oklch(89.1% 0.157 97.3);
Tailwind
colors: {
  custom: {
    50: '#fee588',
    500: '#f8db4f',
    950: '#000000',
  },
}
SCSS
$custom: #f8db4f;
$custom-light: #fee588;
$custom-dark: #000000;
JSON
{
  "hex": "#f8db4f",
  "rgb": {
    "r": 248,
    "g": 219,
    "b": 79
  },
  "hsl": {
    "h": 49.704,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89127,
    "c": 0.15676,
    "h": 97.3
  },
  "luminance": 0.71184
}

Semantic roles & 50–950 ramp

primary
#F8DB4F
secondary
#2A44C2
accent
#27E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F8DB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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