#F9F57D#F9F57D

#F9F57D is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.9% C 0.142 H 107.1°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#F9F57D
RGBrgb(249, 245, 125)
HSLhsl(58, 91%, 73%)
HSVhsv(58, 50%, 98%)
CMYKcmyk(0%, 1.6%, 49.8%, 2.4%)
CIE-LABlab(94.71, -14.28, 57.62)
CIE-LCHlch(94.71, 59.37, 103.92°)
OKLaboklab(94.94% -0.0418 0.136)
OKLCHoklch(94.94% 0.142 107.1)
XYZxyz(75.4229, 86.9272, 32.2036)
Luminance0.8692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F57D #7D81F9
analogous
#F9B77D #F9F57D #BFF97D
triadic
#F9F57D #7DF9F5 #F57DF9
tetradic
#F9F57D #7DF9B7 #7D81F9 #F97DBF
square
#F9F57D #7DF9B7 #7D81F9 #F97DBF
split-complementary
#F9F57D #7DBFF9 #B77DF9
monochromatic
#F0E90B #F6F142 #F9F57D #FCFAB7 #FEFDE2

Accessibility & contrast

On white

1.14
#F9F57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#F9F57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F57D
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F57D#FFFFFF#000000##000000
##F9F57D1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED72
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f57d;
/* rgb */ color: rgb(249, 245, 125);
/* oklch */ color: oklch(94.9% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#fdf8a5',
    500: '#f9f57d',
    950: '#000000',
  },
}
SCSS
$custom: #f9f57d;
$custom-light: #fdf8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f57d",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 125
  },
  "hsl": {
    "h": 58.065,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94942,
    "c": 0.14227,
    "h": 107.1
  },
  "luminance": 0.86925
}

Semantic roles & 50–950 ramp

primary
#F9F57D
secondary
#4449D6
accent
#07E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F57D

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

Preview Lab → · Contrast checker → · Palette generator →

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