#F9DF5A#F9DF5A

#F9DF5A is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.1% C 0.152 H 98.2°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#F9DF5A
RGBrgb(249, 223, 90)
HSLhsl(50, 93%, 66%)
HSVhsv(50, 64%, 98%)
CMYKcmyk(0%, 10.4%, 63.9%, 2.4%)
CIE-LABlab(88.76, -5.89, 66.28)
CIE-LCHlch(88.76, 66.55, 95.08°)
OKLaboklab(90.11% -0.0216 0.1505)
OKLCHoklch(90.11% 0.152 98.2)
XYZxyz(67.3030, 73.6564, 20.3429)
Luminance0.7365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DF5A #5A74F9
analogous
#F9905A #F9DF5A #C3F95A
triadic
#F9DF5A #5AF9DF #DF5AF9
tetradic
#F9DF5A #5AF990 #5A74F9 #F95AC3
square
#F9DF5A #5AF990 #5A74F9 #F95AC3
split-complementary
#F9DF5A #5AC3F9 #905AF9
monochromatic
#D1B008 #F7D41F #F9DF5A #FBEA95 #FDF6D0

Accessibility & contrast

On white

1.33
#F9DF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#F9DF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DF5A
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DF5A#FFFFFF#000000##000000
##F9DF5A1.001.3315.7315.73
#FFFFFF1.331.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DA4A
Deuteranopia (green-blind)
#FAE361
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f9df5a;
/* rgb */ color: rgb(249, 223, 90);
/* oklch */ color: oklch(90.1% 0.152 98.2);
Tailwind
colors: {
  custom: {
    50: '#ffe88e',
    500: '#f9df5a',
    950: '#000000',
  },
}
SCSS
$custom: #f9df5a;
$custom-light: #ffe88e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9df5a",
  "rgb": {
    "r": 249,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 50.189,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90112,
    "c": 0.15203,
    "h": 98.2
  },
  "luminance": 0.73653
}

Semantic roles & 50–950 ramp

primary
#F9DF5A
secondary
#2B45CC
accent
#26E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9DF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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