#F2F965#F2F965

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

Color values

HEX#F2F965
RGBrgb(242, 249, 101)
HSLhsl(63, 93%, 69%)
HSVhsv(63, 59%, 98%)
CMYKcmyk(2.8%, 0%, 59.4%, 2.4%)
CIE-LABlab(94.98, -20.79, 68.27)
CIE-LCHlch(94.98, 71.36, 106.94°)
OKLaboklab(94.95% -0.0624 0.1564)
OKLCHoklch(94.95% 0.168 111.7)
XYZxyz(72.8445, 87.5698, 25.3748)
Luminance0.8757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F965 #6C65F9
analogous
#F9B665 #F2F965 #A8F965
triadic
#F2F965 #65F2F9 #F965F2
tetradic
#F2F965 #65F9B6 #6C65F9 #F965A8
square
#F2F965 #65F9B6 #6C65F9 #F965A8
split-complementary
#F2F965 #65A8F9 #B665F9
monochromatic
#D1DB09 #EDF72A #F2F965 #F7FBA0 #FCFEDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F965#FFFFFF#000000##000000
##F2F9651.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)
#FFEF54
Deuteranopia (green-blind)
#FFF26E
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f965;
/* rgb */ color: rgb(242, 249, 101);
/* oklch */ color: oklch(95.0% 0.168 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb96',
    500: '#f2f965',
    950: '#000000',
  },
}
SCSS
$custom: #f2f965;
$custom-light: #f9fb96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f965",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 101
  },
  "hsl": {
    "h": 62.838,
    "s": 92.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94954,
    "c": 0.16834,
    "h": 111.7
  },
  "luminance": 0.87568
}

Semantic roles & 50–950 ramp

primary
#F2F965
secondary
#3730D3
accent
#00E60B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F965

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

Preview Lab → · Contrast checker → · Palette generator →

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