#F9E456#F9E456

#F9E456 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.1% C 0.159 H 100.8°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F9E456
RGBrgb(249, 228, 86)
HSLhsl(52, 93%, 66%)
HSVhsv(52, 65%, 98%)
CMYKcmyk(0%, 8.4%, 65.5%, 2.4%)
CIE-LABlab(90.00, -8.62, 69.22)
CIE-LCHlch(90.00, 69.75, 97.10°)
OKLaboklab(91.09% -0.0298 0.1561)
OKLCHoklch(91.09% 0.159 100.8)
XYZxyz(68.4929, 76.3014, 19.9221)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E456 #566BF9
analogous
#F99256 #F9E456 #BCF956
triadic
#F9E456 #56F9E4 #E456F9
tetradic
#F9E456 #56F992 #566BF9 #F956BC
square
#F9E456 #56F992 #566BF9 #F956BC
split-complementary
#F9E456 #56BCF9 #9256F9
monochromatic
#CDB407 #F7DB1B #F9E456 #FBED91 #FDF7CC

Accessibility & contrast

On white

1.29
#F9E456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#F9E456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E456
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E456#FFFFFF#000000##000000
##F9E4561.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE43
Deuteranopia (green-blind)
#FEE65E
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f9e456;
/* rgb */ color: rgb(249, 228, 86);
/* oklch */ color: oklch(91.1% 0.159 100.8);
Tailwind
colors: {
  custom: {
    50: '#ffec8c',
    500: '#f9e456',
    950: '#000000',
  },
}
SCSS
$custom: #f9e456;
$custom-light: #ffec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e456",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 86
  },
  "hsl": {
    "h": 52.27,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91085,
    "c": 0.15892,
    "h": 100.8
  },
  "luminance": 0.76298
}

Semantic roles & 50–950 ramp

primary
#F9E456
secondary
#2A3FC9
accent
#1EE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9E456

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

Preview Lab → · Contrast checker → · Palette generator →

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