#F9E556#F9E556

#F9E556 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.3% C 0.160 H 101.3°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#F9E556
RGBrgb(249, 229, 86)
HSLhsl(53, 93%, 66%)
HSVhsv(53, 65%, 98%)
CMYKcmyk(0%, 8%, 65.5%, 2.4%)
CIE-LABlab(90.25, -9.12, 69.48)
CIE-LCHlch(90.25, 70.08, 97.48°)
OKLaboklab(91.29% -0.0313 0.1567)
OKLCHoklch(91.29% 0.16 101.3)
XYZxyz(68.7688, 76.8532, 20.0141)
Luminance0.7685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E556 #566AF9
analogous
#F99356 #F9E556 #BBF956
triadic
#F9E556 #56F9E5 #E556F9
tetradic
#F9E556 #56F993 #566AF9 #F956BB
square
#F9E556 #56F993 #566AF9 #F956BB
split-complementary
#F9E556 #56BBF9 #9356F9
monochromatic
#CDB507 #F7DC1B #F9E556 #FBEE91 #FDF7CC

Accessibility & contrast

On white

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

On black

16.37
#F9E556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E556
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E556#FFFFFF#000000##000000
##F9E5561.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE43
Deuteranopia (green-blind)
#FFE75E
Tritanopia (blue-blind)
#FFD5C8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e556;
/* rgb */ color: rgb(249, 229, 86);
/* oklch */ color: oklch(91.3% 0.160 101.3);
Tailwind
colors: {
  custom: {
    50: '#ffec8c',
    500: '#f9e556',
    950: '#000000',
  },
}
SCSS
$custom: #f9e556;
$custom-light: #ffec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e556",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 86
  },
  "hsl": {
    "h": 52.638,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.91287,
    "c": 0.15974,
    "h": 101.3
  },
  "luminance": 0.7685
}

Semantic roles & 50–950 ramp

primary
#F9E556
secondary
#2A3EC9
accent
#1CE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9E556

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

Preview Lab → · Contrast checker → · Palette generator →

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