#F2F488#F2F488

#F2F488 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.3% C 0.131 H 109.6°. Best body text is #000000 at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#F2F488
RGBrgb(242, 244, 136)
HSLhsl(61, 83%, 75%)
HSVhsv(61, 44%, 96%)
CMYKcmyk(0.8%, 0%, 44.3%, 4.3%)
CIE-LABlab(94.04, -15.54, 51.56)
CIE-LCHlch(94.04, 53.85, 106.77°)
OKLaboklab(94.32% -0.044 0.1236)
OKLCHoklch(94.32% 0.131 109.6)
XYZxyz(73.4139, 85.3577, 35.8962)
Luminance0.8536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F488 #8A88F4
analogous
#F4C088 #F2F488 #BCF488
triadic
#F2F488 #88F2F4 #F488F2
tetradic
#F2F488 #88F4C0 #8A88F4 #F488BC
square
#F2F488 #88F4C0 #8A88F4 #F488BC
split-complementary
#F2F488 #88BCF4 #C088F4
monochromatic
#E6EA18 #ECEF50 #F2F488 #F8F9C0 #FCFCE3

Accessibility & contrast

On white

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

On black

18.07
#F2F488 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F488
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F488#FFFFFF#000000##000000
##F2F4881.001.1618.0718.07
#FFFFFF1.161.0021.0021.00
#00000018.0721.001.001.00
##00000018.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7F
Deuteranopia (green-blind)
#FFF08D
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f488;
/* rgb */ color: rgb(242, 244, 136);
/* oklch */ color: oklch(94.3% 0.131 109.6);
Tailwind
colors: {
  custom: {
    50: '#f8f7ad',
    500: '#f2f488',
    950: '#000000',
  },
}
SCSS
$custom: #f2f488;
$custom-light: #f8f7ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f488",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 136
  },
  "hsl": {
    "h": 61.111,
    "s": 83.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94317,
    "c": 0.1312,
    "h": 109.6
  },
  "luminance": 0.85356
}

Semantic roles & 50–950 ramp

primary
#F2F488
secondary
#5250D1
accent
#06DF0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F488

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

Preview Lab → · Contrast checker → · Palette generator →

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