#F2F476#F2F476

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

Color values

HEX#F2F476
RGBrgb(242, 244, 118)
HSLhsl(61, 85%, 71%)
HSVhsv(61, 52%, 96%)
CMYKcmyk(0.8%, 0%, 51.6%, 4.3%)
CIE-LABlab(93.83, -17.13, 59.64)
CIE-LCHlch(93.83, 62.05, 106.02°)
OKLaboklab(94.09% -0.0503 0.1398)
OKLCHoklch(94.09% 0.149 109.8)
XYZxyz(72.2404, 84.8883, 29.7157)
Luminance0.8489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F476 #7876F4
analogous
#F4B776 #F2F476 #B3F476
triadic
#F2F476 #76F2F4 #F476F2
tetradic
#F2F476 #76F4B7 #7876F4 #F476B3
square
#F2F476 #76F4B7 #7876F4 #F476B3
split-complementary
#F2F476 #76B3F4 #B776F4
monochromatic
#DBDE12 #EDEF3D #F2F476 #F7F9AF #FCFDE3

Accessibility & contrast

On white

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

On black

17.98
#F2F476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F476
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F476#FFFFFF#000000##000000
##F2F4761.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f476;
/* rgb */ color: rgb(242, 244, 118);
/* oklch */ color: oklch(94.1% 0.149 109.8);
Tailwind
colors: {
  custom: {
    50: '#f9f7a1',
    500: '#f2f476',
    950: '#000000',
  },
}
SCSS
$custom: #f2f476;
$custom-light: #f9f7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f476",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 118
  },
  "hsl": {
    "h": 60.952,
    "s": 85.135,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94091,
    "c": 0.14858,
    "h": 109.8
  },
  "luminance": 0.84887
}

Semantic roles & 50–950 ramp

primary
#F2F476
secondary
#4240CF
accent
#04E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F476

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

Preview Lab → · Contrast checker → · Palette generator →

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