#F9E57D#F9E57D

#F9E57D is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.7% C 0.127 H 98.7°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#F9E57D
RGBrgb(249, 229, 125)
HSLhsl(50, 91%, 73%)
HSVhsv(50, 50%, 98%)
CMYKcmyk(0%, 8%, 49.8%, 2.4%)
CIE-LABlab(90.63, -6.37, 52.75)
CIE-LCHlch(90.63, 53.13, 96.88°)
OKLaboklab(91.7% -0.0191 0.1253)
OKLCHoklch(91.7% 0.127 98.7)
XYZxyz(70.7901, 77.6617, 30.6594)
Luminance0.7766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E57D #7D91F9
analogous
#F9A77D #F9E57D #CFF97D
triadic
#F9E57D #7DF9E5 #E57DF9
tetradic
#F9E57D #7DF9A7 #7D91F9 #F97DCF
square
#F9E57D #7DF9A7 #7D91F9 #F97DCF
split-complementary
#F9E57D #7DCFF9 #A77DF9
monochromatic
#F0CB0B #F6D942 #F9E57D #FCF1B7 #FEF9E2

Accessibility & contrast

On white

1.27
#F9E57D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#F9E57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E57D
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E57D#FFFFFF#000000##000000
##F9E57D1.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E074
Deuteranopia (green-blind)
#FCE781
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e57d;
/* rgb */ color: rgb(249, 229, 125);
/* oklch */ color: oklch(91.7% 0.127 98.7);
Tailwind
colors: {
  custom: {
    50: '#fdeda5',
    500: '#f9e57d',
    950: '#000000',
  },
}
SCSS
$custom: #f9e57d;
$custom-light: #fdeda5;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e57d",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 125
  },
  "hsl": {
    "h": 50.323,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91701,
    "c": 0.12677,
    "h": 98.7
  },
  "luminance": 0.77659
}

Semantic roles & 50–950 ramp

primary
#F9E57D
secondary
#445CD6
accent
#25E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E57D

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

Preview Lab → · Contrast checker → · Palette generator →

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