#F2F666#F2F666

#F2F666 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.3% C 0.164 H 110.7°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#F2F666
RGBrgb(242, 246, 102)
HSLhsl(62, 89%, 68%)
HSVhsv(62, 59%, 96%)
CMYKcmyk(1.6%, 0%, 58.5%, 3.5%)
CIE-LABlab(94.21, -19.28, 67.01)
CIE-LCHlch(94.21, 69.73, 106.06°)
OKLaboklab(94.34% -0.058 0.1538)
OKLCHoklch(94.34% 0.164 110.7)
XYZxyz(71.9740, 85.7498, 25.3278)
Luminance0.8575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F666 #6A66F6
analogous
#F6B266 #F2F666 #AAF666
triadic
#F2F666 #66F2F6 #F666F2
tetradic
#F2F666 #66F6B2 #6A66F6 #F666AA
square
#F2F666 #66F6B2 #6A66F6 #F666AA
split-complementary
#F2F666 #66AAF6 #B266F6
monochromatic
#CFD50D #EDF32C #F2F666 #F7F9A0 #FCFDDA

Accessibility & contrast

On white

1.16
#F2F666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#F2F666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F666
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F666#FFFFFF#000000##000000
##F2F6661.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC56
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f666;
/* rgb */ color: rgb(242, 246, 102);
/* oklch */ color: oklch(94.3% 0.164 110.7);
Tailwind
colors: {
  custom: {
    50: '#f9f997',
    500: '#f2f666',
    950: '#000000',
  },
}
SCSS
$custom: #f2f666;
$custom-light: #f9f997;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f666",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 102
  },
  "hsl": {
    "h": 61.667,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.94338,
    "c": 0.16439,
    "h": 110.7
  },
  "luminance": 0.85748
}

Semantic roles & 50–950 ramp

primary
#F2F666
secondary
#3631CF
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F666

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

Preview Lab → · Contrast checker → · Palette generator →

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