#F9D45F#F9D45F

#F9D45F is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 88.0% C 0.140 H 91.7°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#F9D45F
RGBrgb(249, 212, 95)
HSLhsl(46, 93%, 67%)
HSVhsv(46, 62%, 98%)
CMYKcmyk(0%, 14.9%, 61.8%, 2.4%)
CIE-LABlab(86.03, -0.01, 61.19)
CIE-LCHlch(86.03, 61.19, 90.01°)
OKLaboklab(87.97% -0.0041 0.1404)
OKLCHoklch(87.97% 0.14 91.7)
XYZxyz(64.6790, 68.0564, 20.5537)
Luminance0.6805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9D45F #5F84F9
analogous
#F9875F #F9D45F #D1F95F
triadic
#F9D45F #5FF9D4 #D45FF9
tetradic
#F9D45F #5FF987 #5F84F9 #F95FD1
square
#F9D45F #5FF987 #5F84F9 #F95FD1
split-complementary
#F9D45F #5FD1F9 #875FF9
monochromatic
#D6A408 #F7C424 #F9D45F #FBE49A #FDF4D5

Accessibility & contrast

On white

1.44
#F9D45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#F9D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9D45F
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9D45F#FFFFFF#000000##000000
##F9D45F1.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#F2DC64
Tritanopia (blue-blind)
#FFC5BB
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f9d45f;
/* rgb */ color: rgb(249, 212, 95);
/* oklch */ color: oklch(88.0% 0.140 91.7);
Tailwind
colors: {
  custom: {
    50: '#ffe091',
    500: '#f9d45f',
    950: '#000000',
  },
}
SCSS
$custom: #f9d45f;
$custom-light: #ffe091;
$custom-dark: #000000;
JSON
{
  "hex": "#f9d45f",
  "rgb": {
    "r": 249,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 45.584,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8797,
    "c": 0.14043,
    "h": 91.7
  },
  "luminance": 0.68053
}

Semantic roles & 50–950 ramp

primary
#F9D45F
secondary
#2C54D0
accent
#37E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F9D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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