#F2F473#F2F473

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

Color values

HEX#F2F473
RGBrgb(242, 244, 115)
HSLhsl(61, 85%, 70%)
HSVhsv(61, 53%, 96%)
CMYKcmyk(0.8%, 0%, 52.9%, 4.3%)
CIE-LABlab(93.80, -17.37, 60.95)
CIE-LCHlch(93.80, 63.37, 105.90°)
OKLaboklab(94.06% -0.0512 0.1423)
OKLCHoklch(94.06% 0.151 109.8)
XYZxyz(72.0649, 84.8181, 28.7917)
Luminance0.8482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F473 #7573F4
analogous
#F4B573 #F2F473 #B2F473
triadic
#F2F473 #73F2F4 #F473F2
tetradic
#F2F473 #73F4B5 #7573F4 #F473B2
square
#F2F473 #73F4B5 #7573F4 #F473B2
split-complementary
#F2F473 #73B2F4 #B573F4
monochromatic
#D8DB11 #EDF03A #F2F473 #F7F8AC #FCFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F473#FFFFFF#000000##000000
##F2F4731.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)
#FFEB66
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f473;
/* rgb */ color: rgb(242, 244, 115);
/* oklch */ color: oklch(94.1% 0.151 109.8);
Tailwind
colors: {
  custom: {
    50: '#f9f79f',
    500: '#f2f473',
    950: '#000000',
  },
}
SCSS
$custom: #f2f473;
$custom-light: #f9f79f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f473",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 115
  },
  "hsl": {
    "h": 60.93,
    "s": 85.43,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94057,
    "c": 0.15128,
    "h": 109.8
  },
  "luminance": 0.84816
}

Semantic roles & 50–950 ramp

primary
#F2F473
secondary
#3F3DCE
accent
#04E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F473

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

Preview Lab → · Contrast checker → · Palette generator →

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