#F9D74E#F9D74E

#F9D74E is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.155 H 94.9°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#F9D74E
RGBrgb(249, 215, 78)
HSLhsl(48, 93%, 64%)
HSVhsv(48, 69%, 98%)
CMYKcmyk(0%, 13.7%, 68.7%, 2.4%)
CIE-LABlab(86.65, -2.51, 68.93)
CIE-LCHlch(86.65, 68.97, 92.09°)
OKLaboklab(88.41% -0.0133 0.1542)
OKLCHoklch(88.41% 0.155 94.9)
XYZxyz(64.7457, 69.2941, 17.1710)
Luminance0.6929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D74E #4E70F9
analogous
#F9824E #F9D74E #C6F94E
triadic
#F9D74E #4EF9D7 #D74EF9
tetradic
#F9D74E #4EF982 #4E70F9 #F94EC6
square
#F9D74E #4EF982 #4E70F9 #F94EC6
split-complementary
#F9D74E #4EC6F9 #824EF9
monochromatic
#C6A007 #F7CA13 #F9D74E #FBE489 #FDF2C4

Accessibility & contrast

On white

1.41
#F9D74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#F9D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D74E
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D74E#FFFFFF#000000##000000
##F9D74E1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33B
Deuteranopia (green-blind)
#F5DD55
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f9d74e;
/* rgb */ color: rgb(249, 215, 78);
/* oklch */ color: oklch(88.4% 0.155 94.9);
Tailwind
colors: {
  custom: {
    50: '#ffe387',
    500: '#f9d74e',
    950: '#000000',
  },
}
SCSS
$custom: #f9d74e;
$custom-light: #ffe387;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d74e",
  "rgb": {
    "r": 249,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 48.07,
    "s": 93.443,
    "l": 64.118
  },
  "oklch": {
    "l": 0.88412,
    "c": 0.15476,
    "h": 94.9
  },
  "luminance": 0.69291
}

Semantic roles & 50–950 ramp

primary
#F9D74E
secondary
#2947C3
accent
#2EE600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19150C
muted
#87847F

Preview Lab

Preview with #F9D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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