#F2F668#F2F668

#F2F668 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.4% C 0.163 H 110.7°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#F2F668
RGBrgb(242, 246, 104)
HSLhsl(62, 89%, 69%)
HSVhsv(62, 58%, 96%)
CMYKcmyk(1.6%, 0%, 57.7%, 3.5%)
CIE-LABlab(94.22, -19.15, 66.19)
CIE-LCHlch(94.22, 68.90, 106.13°)
OKLaboklab(94.36% -0.0574 0.1523)
OKLCHoklch(94.36% 0.163 110.7)
XYZxyz(72.0743, 85.7900, 25.8564)
Luminance0.8579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F668 #6C68F6
analogous
#F6B368 #F2F668 #ABF668
triadic
#F2F668 #68F2F6 #F668F2
tetradic
#F2F668 #68F6B3 #6C68F6 #F668AB
square
#F2F668 #68F6B3 #6C68F6 #F668AB
split-complementary
#F2F668 #68ABF6 #B368F6
monochromatic
#D1D70D #EDF32E #F2F668 #F7F9A2 #FCFDDC

Accessibility & contrast

On white

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

On black

18.16
#F2F668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F668
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F668#FFFFFF#000000##000000
##F2F6681.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC58
Deuteranopia (green-blind)
#FFF070
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f668;
/* rgb */ color: rgb(242, 246, 104);
/* oklch */ color: oklch(94.4% 0.163 110.7);
Tailwind
colors: {
  custom: {
    50: '#f9f998',
    500: '#f2f668',
    950: '#000000',
  },
}
SCSS
$custom: #f2f668;
$custom-light: #f9f998;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f668",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 104
  },
  "hsl": {
    "h": 61.69,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94358,
    "c": 0.16278,
    "h": 110.7
  },
  "luminance": 0.85788
}

Semantic roles & 50–950 ramp

primary
#F2F668
secondary
#3733CF
accent
#00E507
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F668

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

Preview Lab → · Contrast checker → · Palette generator →

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