#F9DC77#F9DC77

#F9DC77 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.8% C 0.125 H 93.7°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#F9DC77
RGBrgb(249, 220, 119)
HSLhsl(47, 92%, 72%)
HSVhsv(47, 52%, 98%)
CMYKcmyk(0%, 11.6%, 52.2%, 2.4%)
CIE-LABlab(88.29, -2.33, 52.78)
CIE-LCHlch(88.29, 52.83, 92.53°)
OKLaboklab(89.83% -0.0081 0.1249)
OKLCHoklch(89.83% 0.125 93.7)
XYZxyz(67.9924, 72.6611, 27.8927)
Luminance0.7266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC77 #7794F9
analogous
#F99B77 #F9DC77 #D5F977
triadic
#F9DC77 #77F9DC #DC77F9
tetradic
#F9DC77 #77F99B #7794F9 #F977D5
square
#F9DC77 #77F99B #7794F9 #F977D5
split-complementary
#F9DC77 #77D5F9 #9B77F9
monochromatic
#EBB90A #F6CD3C #F9DC77 #FCEBB2 #FEF7E2

Accessibility & contrast

On white

1.35
#F9DC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#F9DC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC77
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC77#FFFFFF#000000##000000
##F9DC771.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86E
Deuteranopia (green-blind)
#F6E17B
Tritanopia (blue-blind)
#FFCEC5
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f9dc77;
/* rgb */ color: rgb(249, 220, 119);
/* oklch */ color: oklch(89.8% 0.125 93.7);
Tailwind
colors: {
  custom: {
    50: '#fee6a0',
    500: '#f9dc77',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc77;
$custom-light: #fee6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc77",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 119
  },
  "hsl": {
    "h": 46.615,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.89828,
    "c": 0.12514,
    "h": 93.7
  },
  "luminance": 0.72658
}

Semantic roles & 50–950 ramp

primary
#F9DC77
secondary
#3F61D5
accent
#33E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DC77

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

Preview Lab → · Contrast checker → · Palette generator →

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