#F9E266#F9E266

#F9E266 is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.8% C 0.145 H 98.9°. Best body text is #000000 at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#F9E266
RGBrgb(249, 226, 102)
HSLhsl(51, 92%, 69%)
HSVhsv(51, 59%, 98%)
CMYKcmyk(0%, 9.2%, 59%, 2.4%)
CIE-LABlab(89.62, -6.63, 62.10)
CIE-LCHlch(89.62, 62.46, 96.10°)
OKLaboklab(90.83% -0.0224 0.1432)
OKLCHoklch(90.83% 0.145 98.9)
XYZxyz(68.6642, 75.4947, 23.5229)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E266 #667DF9
analogous
#F99966 #F9E266 #C7F966
triadic
#F9E266 #66F9E2 #E266F9
tetradic
#F9E266 #66F999 #667DF9 #F966C7
square
#F9E266 #66F999 #667DF9 #F966C7
split-complementary
#F9E266 #66C7F9 #9966F9
monochromatic
#DCBB09 #F7D72B #F9E266 #FBEDA1 #FEF8DC

Accessibility & contrast

On white

1.30
#F9E266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.10
#F9E266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E266
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E266#FFFFFF#000000##000000
##F9E2661.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD59
Deuteranopia (green-blind)
#FCE56C
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f9e266;
/* rgb */ color: rgb(249, 226, 102);
/* oklch */ color: oklch(90.8% 0.145 98.9);
Tailwind
colors: {
  custom: {
    50: '#feea96',
    500: '#f9e266',
    950: '#000000',
  },
}
SCSS
$custom: #f9e266;
$custom-light: #feea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e266",
  "rgb": {
    "r": 249,
    "g": 226,
    "b": 102
  },
  "hsl": {
    "h": 50.612,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9083,
    "c": 0.14496,
    "h": 98.9
  },
  "luminance": 0.75492
}

Semantic roles & 50–950 ramp

primary
#F9E266
secondary
#304AD3
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E266

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

Preview Lab → · Contrast checker → · Palette generator →

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