#F9F267#F9F267

#F9F267 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.159 H 106.4°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#F9F267
RGBrgb(249, 242, 103)
HSLhsl(57, 92%, 69%)
HSVhsv(57, 59%, 98%)
CMYKcmyk(0%, 2.8%, 58.6%, 2.4%)
CIE-LABlab(93.72, -14.48, 66.21)
CIE-LCHlch(93.72, 67.78, 102.34°)
OKLaboklab(94.09% -0.0447 0.1521)
OKLCHoklch(94.09% 0.159 106.4)
XYZxyz(73.2696, 84.6256, 25.3041)
Luminance0.8462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F267 #676EF9
analogous
#F9A967 #F9F267 #B7F967
triadic
#F9F267 #67F9F2 #F267F9
tetradic
#F9F267 #67F9A9 #676EF9 #F967B7
square
#F9F267 #67F9A9 #676EF9 #F967B7
split-complementary
#F9F267 #67B7F9 #A967F9
monochromatic
#DDD309 #F7ED2C #F9F267 #FBF7A2 #FEFCDD

Accessibility & contrast

On white

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

On black

17.92
#F9F267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F267
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F267#FFFFFF#000000##000000
##F9F2671.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA57
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FFE4D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f9f267;
/* rgb */ color: rgb(249, 242, 103);
/* oklch */ color: oklch(94.1% 0.159 106.4);
Tailwind
colors: {
  custom: {
    50: '#fef697',
    500: '#f9f267',
    950: '#000000',
  },
}
SCSS
$custom: #f9f267;
$custom-light: #fef697;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f267",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 103
  },
  "hsl": {
    "h": 57.123,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94088,
    "c": 0.15853,
    "h": 106.4
  },
  "luminance": 0.84623
}

Semantic roles & 50–950 ramp

primary
#F9F267
secondary
#3139D3
accent
#0BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9F267

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

Preview Lab → · Contrast checker → · Palette generator →

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