#F2F479#F2F479

#F2F479 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.1% C 0.146 H 109.7°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#F2F479
RGBrgb(242, 244, 121)
HSLhsl(61, 85%, 72%)
HSVhsv(61, 50%, 96%)
CMYKcmyk(0.8%, 0%, 50.4%, 4.3%)
CIE-LABlab(93.87, -16.88, 58.32)
CIE-LCHlch(93.87, 60.72, 106.14°)
OKLaboklab(94.13% -0.0492 0.1373)
OKLCHoklch(94.13% 0.146 109.7)
XYZxyz(72.4215, 84.9608, 30.6695)
Luminance0.8496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F479 #7B79F4
analogous
#F4B979 #F2F479 #B5F479
triadic
#F2F479 #79F2F4 #F479F2
tetradic
#F2F479 #79F4B9 #7B79F4 #F479B5
square
#F2F479 #79F4B9 #7B79F4 #F479B5
split-complementary
#F2F479 #79B5F4 #B979F4
monochromatic
#DDE012 #EDEF40 #F2F479 #F7F9B2 #FCFDE3

Accessibility & contrast

On white

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

On black

17.99
#F2F479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F479
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F479#FFFFFF#000000##000000
##F2F4791.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6D
Deuteranopia (green-blind)
#FFEF7F
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f479;
/* rgb */ color: rgb(242, 244, 121);
/* oklch */ color: oklch(94.1% 0.146 109.7);
Tailwind
colors: {
  custom: {
    50: '#f8f7a3',
    500: '#f2f479',
    950: '#000000',
  },
}
SCSS
$custom: #f2f479;
$custom-light: #f8f7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f479",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 121
  },
  "hsl": {
    "h": 60.976,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94126,
    "c": 0.14582,
    "h": 109.7
  },
  "luminance": 0.84959
}

Semantic roles & 50–950 ramp

primary
#F2F479
secondary
#4542CF
accent
#04E108
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F479

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

Preview Lab → · Contrast checker → · Palette generator →

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