#F2F688#F2F688

#F2F688 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.7% C 0.133 H 110.5°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#F2F688
RGBrgb(242, 246, 136)
HSLhsl(62, 86%, 75%)
HSVhsv(62, 45%, 96%)
CMYKcmyk(1.6%, 0%, 44.7%, 3.5%)
CIE-LABlab(94.55, -16.51, 52.19)
CIE-LCHlch(94.55, 54.74, 107.56°)
OKLaboklab(94.73% -0.0468 0.125)
OKLCHoklch(94.73% 0.133 110.5)
XYZxyz(74.0189, 86.5678, 36.0978)
Luminance0.8657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F688 #8C88F6
analogous
#F6C388 #F2F688 #BBF688
triadic
#F2F688 #88F2F6 #F688F2
tetradic
#F2F688 #88F6C3 #8C88F6 #F688BB
square
#F2F688 #88F6C3 #8C88F6 #F688BB
split-complementary
#F2F688 #88BBF6 #C388F6
monochromatic
#E6ED16 #ECF24F #F2F688 #F8FAC1 #FCFDE3

Accessibility & contrast

On white

1.15
#F2F688 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.31
#F2F688 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F688
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F688#FFFFFF#000000##000000
##F2F6881.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7F
Deuteranopia (green-blind)
#FFF18D
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f688;
/* rgb */ color: rgb(242, 246, 136);
/* oklch */ color: oklch(94.7% 0.133 110.5);
Tailwind
colors: {
  custom: {
    50: '#f8f9ad',
    500: '#f2f688',
    950: '#000000',
  },
}
SCSS
$custom: #f2f688;
$custom-light: #f8f9ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f688",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 136
  },
  "hsl": {
    "h": 62.182,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.9473,
    "c": 0.13347,
    "h": 110.5
  },
  "luminance": 0.86566
}

Semantic roles & 50–950 ramp

primary
#F2F688
secondary
#544FD3
accent
#03E20B
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F688

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

Preview Lab → · Contrast checker → · Palette generator →

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