#F2F964#F2F964

#F2F964 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 94.9% C 0.169 H 111.7°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#F2F964
RGBrgb(242, 249, 100)
HSLhsl(63, 93%, 68%)
HSVhsv(63, 60%, 98%)
CMYKcmyk(2.8%, 0%, 59.8%, 2.4%)
CIE-LABlab(94.97, -20.86, 68.67)
CIE-LCHlch(94.97, 71.77, 106.90°)
OKLaboklab(94.95% -0.0626 0.1571)
OKLCHoklch(94.95% 0.169 111.7)
XYZxyz(72.7958, 87.5503, 25.1183)
Luminance0.8755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F964 #6B64F9
analogous
#F9B564 #F2F964 #A7F964
triadic
#F2F964 #64F2F9 #F964F2
tetradic
#F2F964 #64F9B5 #6B64F9 #F964A7
square
#F2F964 #64F9B5 #6B64F9 #F964A7
split-complementary
#F2F964 #64A7F9 #B564F9
monochromatic
#D0DA08 #EDF729 #F2F964 #F7FB9F #FCFEDA

Accessibility & contrast

On white

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

On black

18.51
#F2F964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F964
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F964#FFFFFF#000000##000000
##F2F9641.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF52
Deuteranopia (green-blind)
#FFF26D
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f964;
/* rgb */ color: rgb(242, 249, 100);
/* oklch */ color: oklch(94.9% 0.169 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb96',
    500: '#f2f964',
    950: '#000000',
  },
}
SCSS
$custom: #f2f964;
$custom-light: #f9fb96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f964",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 100
  },
  "hsl": {
    "h": 62.819,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94945,
    "c": 0.16912,
    "h": 111.7
  },
  "luminance": 0.87549
}

Semantic roles & 50–950 ramp

primary
#F2F964
secondary
#362FD2
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F964

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

Preview Lab → · Contrast checker → · Palette generator →

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