#F9DF76#F9DF76

#F9DF76 is a very light, vivid yellow. Relative luminance 0.742; OKLCH L 90.4% C 0.128 H 95.7°. Best body text is #000000 at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#F9DF76
RGBrgb(249, 223, 118)
HSLhsl(48, 92%, 72%)
HSVhsv(48, 53%, 98%)
CMYKcmyk(0%, 10.4%, 52.6%, 2.4%)
CIE-LABlab(89.03, -3.93, 54.14)
CIE-LCHlch(89.03, 54.28, 94.15°)
OKLaboklab(90.41% -0.0128 0.1278)
OKLCHoklch(90.41% 0.128 95.7)
XYZxyz(68.7271, 74.2260, 27.8429)
Luminance0.7422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DF76 #7690F9
analogous
#F99E76 #F9DF76 #D1F976
triadic
#F9DF76 #76F9DF #DF76F9
tetradic
#F9DF76 #76F99E #7690F9 #F976D1
square
#F9DF76 #76F99E #7690F9 #F976D1
split-complementary
#F9DF76 #76D1F9 #9E76F9
monochromatic
#EABE0A #F6D13B #F9DF76 #FCEDB1 #FEF8E2

Accessibility & contrast

On white

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

On black

15.84
#F9DF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DF76
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DF76#FFFFFF#000000##000000
##F9DF761.001.3315.8415.84
#FFFFFF1.331.0021.0021.00
#00000015.8421.001.001.00
##00000015.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB6C
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#FFD1C7
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f9df76;
/* rgb */ color: rgb(249, 223, 118);
/* oklch */ color: oklch(90.4% 0.128 95.7);
Tailwind
colors: {
  custom: {
    50: '#fee8a0',
    500: '#f9df76',
    950: '#000000',
  },
}
SCSS
$custom: #f9df76;
$custom-light: #fee8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9df76",
  "rgb": {
    "r": 249,
    "g": 223,
    "b": 118
  },
  "hsl": {
    "h": 48.092,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.90412,
    "c": 0.1284,
    "h": 95.7
  },
  "luminance": 0.74223
}

Semantic roles & 50–950 ramp

primary
#F9DF76
secondary
#3E5CD5
accent
#2EE600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9DF76

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

Preview Lab → · Contrast checker → · Palette generator →

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