#F9DF7B#F9DF7B

#F9DF7B is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.5% C 0.124 H 95.1°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#F9DF7B
RGBrgb(249, 223, 123)
HSLhsl(48, 91%, 73%)
HSVhsv(48, 51%, 98%)
CMYKcmyk(0%, 10.4%, 50.6%, 2.4%)
CIE-LABlab(89.09, -3.52, 51.84)
CIE-LCHlch(89.09, 51.96, 93.88°)
OKLaboklab(90.48% -0.0111 0.1232)
OKLCHoklch(90.48% 0.124 95.1)
XYZxyz(69.0321, 74.3480, 29.4494)
Luminance0.7435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DF7B #7B95F9
analogous
#F9A07B #F9DF7B #D4F97B
triadic
#F9DF7B #7BF9DF #DF7BF9
tetradic
#F9DF7B #7BF9A0 #7B95F9 #F97BD4
square
#F9DF7B #7BF9A0 #7B95F9 #F97BD4
split-complementary
#F9DF7B #7BD4F9 #A07BF9
monochromatic
#EFC00B #F6D140 #F9DF7B #FCEDB6 #FEF8E2

Accessibility & contrast

On white

1.32
#F9DF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#F9DF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9DF7B
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9DF7B#FFFFFF#000000##000000
##F9DF7B1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB72
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#FFD2C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f9df7b;
/* rgb */ color: rgb(249, 223, 123);
/* oklch */ color: oklch(90.5% 0.124 95.1);
Tailwind
colors: {
  custom: {
    50: '#fde8a3',
    500: '#f9df7b',
    950: '#000000',
  },
}
SCSS
$custom: #f9df7b;
$custom-light: #fde8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9df7b",
  "rgb": {
    "r": 249,
    "g": 223,
    "b": 123
  },
  "hsl": {
    "h": 47.619,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.90476,
    "c": 0.12366,
    "h": 95.1
  },
  "luminance": 0.74345
}

Semantic roles & 50–950 ramp

primary
#F9DF7B
secondary
#4361D6
accent
#2FE600
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9DF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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