#F2F466#F2F466

#F2F466 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 93.9% C 0.162 H 109.9°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#F2F466
RGBrgb(242, 244, 102)
HSLhsl(61, 87%, 68%)
HSVhsv(61, 58%, 96%)
CMYKcmyk(0.8%, 0%, 58.2%, 4.3%)
CIE-LABlab(93.68, -18.32, 66.44)
CIE-LCHlch(93.68, 68.92, 105.42°)
OKLaboklab(93.92% -0.0553 0.1526)
OKLCHoklch(93.92% 0.162 109.9)
XYZxyz(71.3689, 84.5397, 25.1261)
Luminance0.8454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F466 #6866F4
analogous
#F4AF66 #F2F466 #ABF466
triadic
#F2F466 #66F2F4 #F466F2
tetradic
#F2F466 #66F4AF #6866F4 #F466AB
square
#F2F466 #66F4AF #6866F4 #F466AB
split-complementary
#F2F466 #66ABF4 #AF66F4
monochromatic
#CED10F #EDF02D #F2F466 #F7F89F #FCFCD8

Accessibility & contrast

On white

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

On black

17.91
#F2F466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F466
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F466#FFFFFF#000000##000000
##F2F4661.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA56
Deuteranopia (green-blind)
#FFEF6E
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f466;
/* rgb */ color: rgb(242, 244, 102);
/* oklch */ color: oklch(93.9% 0.162 109.9);
Tailwind
colors: {
  custom: {
    50: '#f9f797',
    500: '#f2f466',
    950: '#000000',
  },
}
SCSS
$custom: #f2f466;
$custom-light: #f9f797;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f466",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 102
  },
  "hsl": {
    "h": 60.845,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93922,
    "c": 0.16231,
    "h": 109.9
  },
  "luminance": 0.84538
}

Semantic roles & 50–950 ramp

primary
#F2F466
secondary
#3432CC
accent
#02E306
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F466

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

Preview Lab → · Contrast checker → · Palette generator →

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