#F2F470#F2F470

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

Color values

HEX#F2F470
RGBrgb(242, 244, 112)
HSLhsl(61, 86%, 70%)
HSVhsv(61, 54%, 96%)
CMYKcmyk(0.8%, 0%, 54.1%, 4.3%)
CIE-LABlab(93.78, -17.60, 62.24)
CIE-LCHlch(93.78, 64.68, 105.79°)
OKLaboklab(94.02% -0.0522 0.1448)
OKLCHoklch(94.02% 0.154 109.8)
XYZxyz(71.8951, 84.7502, 27.8973)
Luminance0.8475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F470 #7270F4
analogous
#F4B470 #F2F470 #B0F470
triadic
#F2F470 #70F2F4 #F470F2
tetradic
#F2F470 #70F4B4 #7270F4 #F470B0
square
#F2F470 #70F4B4 #7270F4 #F470B0
split-complementary
#F2F470 #70B0F4 #B470F4
monochromatic
#D6D911 #EDF037 #F2F470 #F7F8A9 #FCFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F470#FFFFFF#000000##000000
##F2F4701.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)
#FFEB63
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f470;
/* rgb */ color: rgb(242, 244, 112);
/* oklch */ color: oklch(94.0% 0.154 109.8);
Tailwind
colors: {
  custom: {
    50: '#f9f79d',
    500: '#f2f470',
    950: '#000000',
  },
}
SCSS
$custom: #f2f470;
$custom-light: #f9f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f470",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 112
  },
  "hsl": {
    "h": 60.909,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94024,
    "c": 0.15393,
    "h": 109.8
  },
  "luminance": 0.84748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F470

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

Preview Lab → · Contrast checker → · Palette generator →

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