#F9DC7B#F9DC7B

#F9DC7B is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.9% C 0.121 H 93.2°. Best body text is #000000 at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#F9DC7B
RGBrgb(249, 220, 123)
HSLhsl(46, 91%, 73%)
HSVhsv(46, 51%, 98%)
CMYKcmyk(0%, 11.6%, 50.6%, 2.4%)
CIE-LABlab(88.33, -2.00, 50.93)
CIE-LCHlch(88.33, 50.97, 92.25°)
OKLaboklab(89.88% -0.0067 0.1212)
OKLCHoklch(89.88% 0.121 93.2)
XYZxyz(68.2377, 72.7592, 29.1846)
Luminance0.7276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DC7B #7B98F9
analogous
#F99D7B #F9DC7B #D7F97B
triadic
#F9DC7B #7BF9DC #DC7BF9
tetradic
#F9DC7B #7BF99D #7B98F9 #F97BD7
square
#F9DC7B #7BF99D #7B98F9 #F97BD7
split-complementary
#F9DC7B #7BD7F9 #9D7BF9
monochromatic
#EFBA0B #F6CC40 #F9DC7B #FCECB6 #FEF7E2

Accessibility & contrast

On white

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

On black

15.55
#F9DC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DC7B
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DC7B#FFFFFF#000000##000000
##F9DC7B1.001.3515.5515.55
#FFFFFF1.351.0021.0021.00
#00000015.5521.001.001.00
##00000015.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED973
Deuteranopia (green-blind)
#F6E17F
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f9dc7b;
/* rgb */ color: rgb(249, 220, 123);
/* oklch */ color: oklch(89.9% 0.121 93.2);
Tailwind
colors: {
  custom: {
    50: '#fee6a3',
    500: '#f9dc7b',
    950: '#000000',
  },
}
SCSS
$custom: #f9dc7b;
$custom-light: #fee6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dc7b",
  "rgb": {
    "r": 249,
    "g": 220,
    "b": 123
  },
  "hsl": {
    "h": 46.19,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.8988,
    "c": 0.12134,
    "h": 93.2
  },
  "luminance": 0.72756
}

Semantic roles & 50–950 ramp

primary
#F9DC7B
secondary
#4364D6
accent
#35E600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18150F
muted
#868480

Preview Lab

Preview with #F9DC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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