#F9DB5D#F9DB5D

#F9DB5D is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.147 H 95.9°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#F9DB5D
RGBrgb(249, 219, 93)
HSLhsl(48, 93%, 67%)
HSVhsv(48, 63%, 98%)
CMYKcmyk(0%, 12%, 62.7%, 2.4%)
CIE-LABlab(87.77, -3.70, 63.96)
CIE-LCHlch(87.77, 64.07, 93.31°)
OKLaboklab(89.34% -0.015 0.146)
OKLCHoklch(89.34% 0.147 95.9)
XYZxyz(66.3772, 71.5963, 20.6770)
Luminance0.7159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DB5D #5D7BF9
analogous
#F98D5D #F9DB5D #C9F95D
triadic
#F9DB5D #5DF9DB #DB5DF9
tetradic
#F9DB5D #5DF98D #5D7BF9 #F95DC9
square
#F9DB5D #5DF98D #5D7BF9 #F95DC9
split-complementary
#F9DB5D #5DC9F9 #8D5DF9
monochromatic
#D4AD08 #F7CE22 #F9DB5D #FBE898 #FDF5D3

Accessibility & contrast

On white

1.37
#F9DB5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#F9DB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DB5D
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DB5D#FFFFFF#000000##000000
##F9DB5D1.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74F
Deuteranopia (green-blind)
#F7E063
Tritanopia (blue-blind)
#FFCCC0
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f9db5d;
/* rgb */ color: rgb(249, 219, 93);
/* oklch */ color: oklch(89.3% 0.147 95.9);
Tailwind
colors: {
  custom: {
    50: '#ffe590',
    500: '#f9db5d',
    950: '#000000',
  },
}
SCSS
$custom: #f9db5d;
$custom-light: #ffe590;
$custom-dark: #000000;
JSON
{
  "hex": "#f9db5d",
  "rgb": {
    "r": 249,
    "g": 219,
    "b": 93
  },
  "hsl": {
    "h": 48.462,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89339,
    "c": 0.14676,
    "h": 95.9
  },
  "luminance": 0.71593
}

Semantic roles & 50–950 ramp

primary
#F9DB5D
secondary
#2C4BCE
accent
#2CE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9DB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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