#F2F472#F2F472

#F2F472 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.0% C 0.152 H 109.8°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#F2F472
RGBrgb(242, 244, 114)
HSLhsl(61, 86%, 70%)
HSVhsv(61, 53%, 96%)
CMYKcmyk(0.8%, 0%, 53.3%, 4.3%)
CIE-LABlab(93.79, -17.44, 61.38)
CIE-LCHlch(93.79, 63.81, 105.86°)
OKLaboklab(94.05% -0.0516 0.1432)
OKLCHoklch(94.05% 0.152 109.8)
XYZxyz(72.0077, 84.7952, 28.4902)
Luminance0.8479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F472 #7472F4
analogous
#F4B572 #F2F472 #B1F472
triadic
#F2F472 #72F2F4 #F472F2
tetradic
#F2F472 #72F4B5 #7472F4 #F472B1
square
#F2F472 #72F4B5 #7472F4 #F472B1
split-complementary
#F2F472 #72B1F4 #B572F4
monochromatic
#D7DB11 #EDF039 #F2F472 #F7F8AB #FCFDE3

Accessibility & contrast

On white

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

On black

17.96
#F2F472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F472
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F472#FFFFFF#000000##000000
##F2F4721.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f472;
/* rgb */ color: rgb(242, 244, 114);
/* oklch */ color: oklch(94.0% 0.152 109.8);
Tailwind
colors: {
  custom: {
    50: '#f9f79e',
    500: '#f2f472',
    950: '#000000',
  },
}
SCSS
$custom: #f2f472;
$custom-light: #f9f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f472",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 114
  },
  "hsl": {
    "h": 60.923,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94046,
    "c": 0.15217,
    "h": 109.8
  },
  "luminance": 0.84794
}

Semantic roles & 50–950 ramp

primary
#F2F472
secondary
#3E3CCE
accent
#03E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F472

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

Preview Lab → · Contrast checker → · Palette generator →

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