#F9D052#F9D052

#F9D052 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 87.1% C 0.148 H 90.8°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#F9D052
RGBrgb(249, 208, 82)
HSLhsl(45, 93%, 65%)
HSVhsv(45, 67%, 98%)
CMYKcmyk(0%, 16.5%, 67.1%, 2.4%)
CIE-LABlab(84.93, 1.26, 65.55)
CIE-LCHlch(84.93, 65.56, 88.90°)
OKLaboklab(87.06% -0.002 0.1477)
OKLCHoklch(87.06% 0.148 90.8)
XYZxyz(63.1491, 65.8644, 17.3679)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D052 #527BF9
analogous
#F97C52 #F9D052 #CFF952
triadic
#F9D052 #52F9D0 #D052F9
tetradic
#F9D052 #52F97C #527BF9 #F952CF
square
#F9D052 #52F97C #527BF9 #F952CF
split-complementary
#F9D052 #52CFF9 #7C52F9
monochromatic
#CA9A07 #F7C017 #F9D052 #FBE08D #FDF0C8

Accessibility & contrast

On white

1.48
#F9D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#F9D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D052
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D052#FFFFFF#000000##000000
##F9D0521.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#F0D958
Tritanopia (blue-blind)
#FFC0B6
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #f9d052;
/* rgb */ color: rgb(249, 208, 82);
/* oklch */ color: oklch(87.1% 0.148 90.8);
Tailwind
colors: {
  custom: {
    50: '#ffde88',
    500: '#f9d052',
    950: '#000000',
  },
}
SCSS
$custom: #f9d052;
$custom-light: #ffde88;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d052",
  "rgb": {
    "r": 249,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 45.269,
    "s": 93.296,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87062,
    "c": 0.1477,
    "h": 90.8
  },
  "luminance": 0.65861
}

Semantic roles & 50–950 ramp

primary
#F9D052
secondary
#2950C6
accent
#38E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #F9D052

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

Preview Lab → · Contrast checker → · Palette generator →

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