#F2F471#F2F471

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

Color values

HEX#F2F471
RGBrgb(242, 244, 113)
HSLhsl(61, 86%, 70%)
HSVhsv(61, 54%, 96%)
CMYKcmyk(0.8%, 0%, 53.7%, 4.3%)
CIE-LABlab(93.78, -17.52, 61.81)
CIE-LCHlch(93.78, 64.25, 105.83°)
OKLaboklab(94.04% -0.0519 0.144)
OKLCHoklch(94.04% 0.153 109.8)
XYZxyz(71.9511, 84.7726, 28.1921)
Luminance0.8477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F471 #7371F4
analogous
#F4B471 #F2F471 #B1F471
triadic
#F2F471 #71F2F4 #F471F2
tetradic
#F2F471 #71F4B4 #7371F4 #F471B1
square
#F2F471 #71F4B4 #7371F4 #F471B1
split-complementary
#F2F471 #71B1F4 #B471F4
monochromatic
#D7DA11 #EDF038 #F2F471 #F7F8AA #FCFDE3

Accessibility & contrast

On white

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

On black

17.95
#F2F471 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F471
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F471#FFFFFF#000000##000000
##F2F4711.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f471;
/* rgb */ color: rgb(242, 244, 113);
/* oklch */ color: oklch(94.0% 0.153 109.8);
Tailwind
colors: {
  custom: {
    50: '#f9f79e',
    500: '#f2f471',
    950: '#000000',
  },
}
SCSS
$custom: #f2f471;
$custom-light: #f9f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f471",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 113
  },
  "hsl": {
    "h": 60.916,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.94035,
    "c": 0.15305,
    "h": 109.8
  },
  "luminance": 0.84771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F471

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

Preview Lab → · Contrast checker → · Palette generator →

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