#F9E26C#F9E26C

#F9E26C is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.9% C 0.140 H 98.4°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#F9E26C
RGBrgb(249, 226, 108)
HSLhsl(50, 92%, 70%)
HSVhsv(50, 57%, 98%)
CMYKcmyk(0%, 9.2%, 56.6%, 2.4%)
CIE-LABlab(89.68, -6.21, 59.50)
CIE-LCHlch(89.68, 59.83, 95.96°)
OKLaboklab(90.89% -0.0205 0.1384)
OKLCHoklch(90.89% 0.14 98.4)
XYZxyz(68.9726, 75.6181, 25.1471)
Luminance0.7561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E26C #6C83F9
analogous
#F99C6C #F9E26C #C9F96C
triadic
#F9E26C #6CF9E2 #E26CF9
tetradic
#F9E26C #6CF99C #6C83F9 #F96CC9
square
#F9E26C #6CF99C #6C83F9 #F96CC9
split-complementary
#F9E26C #6CC9F9 #9C6CF9
monochromatic
#E1BE09 #F7D631 #F9E26C #FBEEA7 #FEF9E2

Accessibility & contrast

On white

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

On black

16.12
#F9E26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E26C
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E26C#FFFFFF#000000##000000
##F9E26C1.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD60
Deuteranopia (green-blind)
#FBE572
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f9e26c;
/* rgb */ color: rgb(249, 226, 108);
/* oklch */ color: oklch(90.9% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#feea9a',
    500: '#f9e26c',
    950: '#000000',
  },
}
SCSS
$custom: #f9e26c;
$custom-light: #feea9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e26c",
  "rgb": {
    "r": 249,
    "g": 226,
    "b": 108
  },
  "hsl": {
    "h": 50.213,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.90894,
    "c": 0.13986,
    "h": 98.4
  },
  "luminance": 0.75615
}

Semantic roles & 50–950 ramp

primary
#F9E26C
secondary
#364FD4
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E26C

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

Preview Lab → · Contrast checker → · Palette generator →

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