#F9F57B#F9F57B

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

Color values

HEX#F9F57B
RGBrgb(249, 245, 123)
HSLhsl(58, 91%, 73%)
HSVhsv(58, 51%, 98%)
CMYKcmyk(0%, 1.6%, 50.6%, 2.4%)
CIE-LABlab(94.69, -14.45, 58.51)
CIE-LCHlch(94.69, 60.27, 103.87°)
OKLaboklab(94.92% -0.0425 0.1377)
OKLCHoklch(94.92% 0.144 107.2)
XYZxyz(75.2964, 86.8767, 31.5375)
Luminance0.8688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F57B #7B7FF9
analogous
#F9B67B #F9F57B #BEF97B
triadic
#F9F57B #7BF9F5 #F57BF9
tetradic
#F9F57B #7BF9B6 #7B7FF9 #F97BBE
square
#F9F57B #7BF9B6 #7B7FF9 #F97BBE
split-complementary
#F9F57B #7BBEF9 #B67BF9
monochromatic
#EFE80B #F6F140 #F9F57B #FCF9B6 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9F57B#FFFFFF#000000##000000
##F9F57B1.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)
#FFED70
Deuteranopia (green-blind)
#FFF281
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f57b;
/* rgb */ color: rgb(249, 245, 123);
/* oklch */ color: oklch(94.9% 0.144 107.2);
Tailwind
colors: {
  custom: {
    50: '#fdf8a4',
    500: '#f9f57b',
    950: '#000000',
  },
}
SCSS
$custom: #f9f57b;
$custom-light: #fdf8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f57b",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 123
  },
  "hsl": {
    "h": 58.095,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94918,
    "c": 0.14414,
    "h": 107.2
  },
  "luminance": 0.86875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9F57B

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

Preview Lab → · Contrast checker → · Palette generator →

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