#F9E56B#F9E56B

#F9E56B is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.5% C 0.143 H 100.1°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#F9E56B
RGBrgb(249, 229, 107)
HSLhsl(52, 92%, 70%)
HSVhsv(52, 57%, 98%)
CMYKcmyk(0%, 8%, 57%, 2.4%)
CIE-LABlab(90.43, -7.78, 60.80)
CIE-LCHlch(90.43, 61.30, 97.30°)
OKLaboklab(91.49% -0.0251 0.141)
OKLCHoklch(91.49% 0.143 100.1)
XYZxyz(69.7426, 77.2427, 25.1427)
Luminance0.7724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E56B #6B7FF9
analogous
#F99E6B #F9E56B #C6F96B
triadic
#F9E56B #6BF9E5 #E56BF9
tetradic
#F9E56B #6BF99E #6B7FF9 #F96BC6
square
#F9E56B #6BF99E #6B7FF9 #F96BC6
split-complementary
#F9E56B #6BC6F9 #9E6BF9
monochromatic
#E0C209 #F7DB30 #F9E56B #FBEFA6 #FEFAE1

Accessibility & contrast

On white

1.28
#F9E56B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#F9E56B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E56B
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E56B#FFFFFF#000000##000000
##F9E56B1.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF5F
Deuteranopia (green-blind)
#FEE771
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e56b;
/* rgb */ color: rgb(249, 229, 107);
/* oklch */ color: oklch(91.5% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#feec99',
    500: '#f9e56b',
    950: '#000000',
  },
}
SCSS
$custom: #f9e56b;
$custom-light: #feec99;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e56b",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 107
  },
  "hsl": {
    "h": 51.549,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91487,
    "c": 0.14326,
    "h": 100.1
  },
  "luminance": 0.7724
}

Semantic roles & 50–950 ramp

primary
#F9E56B
secondary
#354BD3
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E56B

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

Preview Lab → · Contrast checker → · Palette generator →

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