#F9F26C#F9F26C

#F9F26C is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.1% C 0.154 H 106.2°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#F9F26C
RGBrgb(249, 242, 108)
HSLhsl(57, 92%, 70%)
HSVhsv(57, 57%, 98%)
CMYKcmyk(0%, 2.8%, 56.6%, 2.4%)
CIE-LABlab(93.77, -14.13, 64.12)
CIE-LCHlch(93.77, 65.66, 102.43°)
OKLaboklab(94.14% -0.0432 0.1483)
OKLCHoklch(94.14% 0.154 106.2)
XYZxyz(73.5281, 84.7290, 26.6656)
Luminance0.8473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F26C #6C73F9
analogous
#F9AB6C #F9F26C #BAF96C
triadic
#F9F26C #6CF9F2 #F26CF9
tetradic
#F9F26C #6CF9AB #6C73F9 #F96CBA
square
#F9F26C #6CF9AB #6C73F9 #F96CBA
split-complementary
#F9F26C #6CBAF9 #AB6CF9
monochromatic
#E1D709 #F7ED31 #F9F26C #FBF7A7 #FEFCE2

Accessibility & contrast

On white

1.17
#F9F26C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#F9F26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F26C
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F26C#FFFFFF#000000##000000
##F9F26C1.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5E
Deuteranopia (green-blind)
#FFF073
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f9f26c;
/* rgb */ color: rgb(249, 242, 108);
/* oklch */ color: oklch(94.1% 0.154 106.2);
Tailwind
colors: {
  custom: {
    50: '#fef69a',
    500: '#f9f26c',
    950: '#000000',
  },
}
SCSS
$custom: #f9f26c;
$custom-light: #fef69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f26c",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 108
  },
  "hsl": {
    "h": 57.021,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.94138,
    "c": 0.15442,
    "h": 106.2
  },
  "luminance": 0.84727
}

Semantic roles & 50–950 ramp

primary
#F9F26C
secondary
#363DD4
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F26C

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

Preview Lab → · Contrast checker → · Palette generator →

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