#F9D54E#F9D54E

#F9D54E is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 88.0% C 0.153 H 93.9°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#F9D54E
RGBrgb(249, 213, 78)
HSLhsl(47, 93%, 64%)
HSVhsv(47, 69%, 98%)
CMYKcmyk(0%, 14.5%, 68.7%, 2.4%)
CIE-LABlab(86.15, -1.50, 68.42)
CIE-LCHlch(86.15, 68.43, 91.25°)
OKLaboklab(88.02% -0.0104 0.1531)
OKLCHoklch(88.02% 0.153 93.9)
XYZxyz(64.2396, 68.2818, 17.0023)
Luminance0.6828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D54E #4E72F9
analogous
#F97F4E #F9D54E #C8F94E
triadic
#F9D54E #4EF9D5 #D54EF9
tetradic
#F9D54E #4EF97F #4E72F9 #F94EC8
square
#F9D54E #4EF97F #4E72F9 #F94EC8
split-complementary
#F9D54E #4EC8F9 #7F4EF9
monochromatic
#C69E07 #F7C713 #F9D54E #FBE389 #FDF1C4

Accessibility & contrast

On white

1.43
#F9D54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#F9D54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D54E
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D54E#FFFFFF#000000##000000
##F9D54E1.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13B
Deuteranopia (green-blind)
#F4DC55
Tritanopia (blue-blind)
#FFC5B9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f9d54e;
/* rgb */ color: rgb(249, 213, 78);
/* oklch */ color: oklch(88.0% 0.153 93.9);
Tailwind
colors: {
  custom: {
    50: '#ffe187',
    500: '#f9d54e',
    950: '#000000',
  },
}
SCSS
$custom: #f9d54e;
$custom-light: #ffe187;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d54e",
  "rgb": {
    "r": 249,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 47.368,
    "s": 93.443,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88015,
    "c": 0.15346,
    "h": 93.9
  },
  "luminance": 0.68278
}

Semantic roles & 50–950 ramp

primary
#F9D54E
secondary
#2949C3
accent
#30E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #F9D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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