#F9F56D#F9F56D

#F9F56D is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.157 H 107.5°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#F9F56D
RGBrgb(249, 245, 109)
HSLhsl(58, 92%, 70%)
HSVhsv(58, 56%, 98%)
CMYKcmyk(0%, 1.6%, 56.2%, 2.4%)
CIE-LABlab(94.55, -15.53, 64.57)
CIE-LCHlch(94.55, 66.41, 103.52°)
OKLaboklab(94.76% -0.047 0.1493)
OKLCHoklch(94.76% 0.157 107.5)
XYZxyz(74.4819, 86.5508, 27.2476)
Luminance0.8655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F56D #6D71F9
analogous
#F9AF6D #F9F56D #B7F96D
triadic
#F9F56D #6DF9F5 #F56DF9
tetradic
#F9F56D #6DF9AF #6D71F9 #F96DB7
square
#F9F56D #6DF9AF #6D71F9 #F96DB7
split-complementary
#F9F56D #6DB7F9 #AF6DF9
monochromatic
#E2DC09 #F7F132 #F9F56D #FBF9A8 #FEFDE2

Accessibility & contrast

On white

1.15
#F9F56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#F9F56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F56D
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F56D#FFFFFF#000000##000000
##F9F56D1.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5F
Deuteranopia (green-blind)
#FFF274
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f56d;
/* rgb */ color: rgb(249, 245, 109);
/* oklch */ color: oklch(94.8% 0.157 107.5);
Tailwind
colors: {
  custom: {
    50: '#fef89b',
    500: '#f9f56d',
    950: '#000000',
  },
}
SCSS
$custom: #f9f56d;
$custom-light: #fef89b;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f56d",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 109
  },
  "hsl": {
    "h": 58.286,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94763,
    "c": 0.15655,
    "h": 107.5
  },
  "luminance": 0.86549
}

Semantic roles & 50–950 ramp

primary
#F9F56D
secondary
#373BD4
accent
#07E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F56D

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

Preview Lab → · Contrast checker → · Palette generator →

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