#F9DD62#F9DD62

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

Color values

HEX#F9DD62
RGBrgb(249, 221, 98)
HSLhsl(49, 93%, 68%)
HSVhsv(49, 61%, 98%)
CMYKcmyk(0%, 11.2%, 60.6%, 2.4%)
CIE-LABlab(88.32, -4.39, 62.41)
CIE-LCHlch(88.32, 62.56, 94.02°)
OKLaboklab(89.79% -0.0164 0.1434)
OKLCHoklch(89.79% 0.144 96.5)
XYZxyz(67.1308, 72.7376, 22.0566)
Luminance0.7273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9DD62 #627EF9
analogous
#F99162 #F9DD62 #CAF962
triadic
#F9DD62 #62F9DD #DD62F9
tetradic
#F9DD62 #62F991 #627EF9 #F962CA
square
#F9DD62 #62F991 #627EF9 #F962CA
split-complementary
#F9DD62 #62CAF9 #9162F9
monochromatic
#D8B208 #F7D027 #F9DD62 #FBEA9D #FEF7D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9DD62#FFFFFF#000000##000000
##F9DD621.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)
#F1D855
Deuteranopia (green-blind)
#F8E268
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f9dd62;
/* rgb */ color: rgb(249, 221, 98);
/* oklch */ color: oklch(89.8% 0.144 96.5);
Tailwind
colors: {
  custom: {
    50: '#fee793',
    500: '#f9dd62',
    950: '#000000',
  },
}
SCSS
$custom: #f9dd62;
$custom-light: #fee793;
$custom-dark: #000000;
JSON
{
  "hex": "#f9dd62",
  "rgb": {
    "r": 249,
    "g": 221,
    "b": 98
  },
  "hsl": {
    "h": 48.874,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.89787,
    "c": 0.14429,
    "h": 96.5
  },
  "luminance": 0.72734
}

Semantic roles & 50–950 ramp

primary
#F9DD62
secondary
#2D4CD2
accent
#2BE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9DD62

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

Preview Lab → · Contrast checker → · Palette generator →

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