#F2F967#F2F967

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

Color values

HEX#F2F967
RGBrgb(242, 249, 103)
HSLhsl(63, 92%, 69%)
HSVhsv(63, 59%, 98%)
CMYKcmyk(2.8%, 0%, 58.6%, 2.4%)
CIE-LABlab(95.00, -20.66, 67.46)
CIE-LCHlch(95.00, 70.55, 107.03°)
OKLaboklab(94.97% -0.0618 0.1549)
OKLCHoklch(94.97% 0.167 111.7)
XYZxyz(72.9437, 87.6095, 25.8971)
Luminance0.8761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F967 #6E67F9
analogous
#F9B767 #F2F967 #A9F967
triadic
#F2F967 #67F2F9 #F967F2
tetradic
#F2F967 #67F9B7 #6E67F9 #F967A9
square
#F2F967 #67F9B7 #6E67F9 #F967A9
split-complementary
#F2F967 #67A9F9 #B767F9
monochromatic
#D3DD09 #EDF72C #F2F967 #F7FBA2 #FCFEDD

Accessibility & contrast

On white

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

On black

18.52
#F2F967 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F967
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F967#FFFFFF#000000##000000
##F2F9671.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f967;
/* rgb */ color: rgb(242, 249, 103);
/* oklch */ color: oklch(95.0% 0.167 111.7);
Tailwind
colors: {
  custom: {
    50: '#f9fb98',
    500: '#f2f967',
    950: '#000000',
  },
}
SCSS
$custom: #f2f967;
$custom-light: #f9fb98;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f967",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 103
  },
  "hsl": {
    "h": 62.877,
    "s": 92.405,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94973,
    "c": 0.16676,
    "h": 111.7
  },
  "luminance": 0.87608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F967

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

Preview Lab → · Contrast checker → · Palette generator →

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