#F2F968#F2F968

#F2F968 is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.0% C 0.166 H 111.7°. Best body text is #000000 at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#F2F968
RGBrgb(242, 249, 104)
HSLhsl(63, 92%, 69%)
HSVhsv(63, 58%, 98%)
CMYKcmyk(2.8%, 0%, 58.2%, 2.4%)
CIE-LABlab(95.00, -20.59, 67.05)
CIE-LCHlch(95.00, 70.14, 107.07°)
OKLaboklab(94.98% -0.0615 0.1542)
OKLCHoklch(94.98% 0.166 111.7)
XYZxyz(72.9942, 87.6297, 26.1631)
Luminance0.8763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F968 #6F68F9
analogous
#F9B868 #F2F968 #A9F968
triadic
#F2F968 #68F2F9 #F968F2
tetradic
#F2F968 #68F9B8 #6F68F9 #F968A9
square
#F2F968 #68F9B8 #6F68F9 #F968A9
split-complementary
#F2F968 #68A9F9 #B868F9
monochromatic
#D4DE09 #EDF72D #F2F968 #F7FBA3 #FCFEDE

Accessibility & contrast

On white

1.13
#F2F968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.53
#F2F968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F968
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F968#FFFFFF#000000##000000
##F2F9681.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF58
Deuteranopia (green-blind)
#FFF371
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f968;
/* rgb */ color: rgb(242, 249, 104);
/* oklch */ color: oklch(95.0% 0.166 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb98',
    500: '#f2f968',
    950: '#000000',
  },
}
SCSS
$custom: #f2f968;
$custom-light: #f9fb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f968",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 104
  },
  "hsl": {
    "h": 62.897,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94982,
    "c": 0.16596,
    "h": 111.7
  },
  "luminance": 0.87628
}

Semantic roles & 50–950 ramp

primary
#F2F968
secondary
#3A32D3
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F968

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

Preview Lab → · Contrast checker → · Palette generator →

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