#F2F475#F2F475

#F2F475 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.97:1 contrast (WCAG AA passes).

Color values

HEX#F2F475
RGBrgb(242, 244, 117)
HSLhsl(61, 85%, 71%)
HSVhsv(61, 52%, 96%)
CMYKcmyk(0.8%, 0%, 52%, 4.3%)
CIE-LABlab(93.82, -17.21, 60.08)
CIE-LCHlch(93.82, 62.49, 105.98°)
OKLaboklab(94.08% -0.0506 0.1407)
OKLCHoklch(94.08% 0.149 109.8)
XYZxyz(72.1813, 84.8647, 29.4043)
Luminance0.8486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F475 #7775F4
analogous
#F4B675 #F2F475 #B2F475
triadic
#F2F475 #75F2F4 #F475F2
tetradic
#F2F475 #75F4B6 #7775F4 #F475B2
square
#F2F475 #75F4B6 #7775F4 #F475B2
split-complementary
#F2F475 #75B2F4 #B675F4
monochromatic
#DADD12 #EDEF3C #F2F475 #F7F9AE #FCFDE3

Accessibility & contrast

On white

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

On black

17.97
#F2F475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F475
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F475#FFFFFF#000000##000000
##F2F4751.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f475;
/* rgb */ color: rgb(242, 244, 117);
/* oklch */ color: oklch(94.1% 0.149 109.8);
Tailwind
colors: {
  custom: {
    50: '#f9f7a0',
    500: '#f2f475',
    950: '#000000',
  },
}
SCSS
$custom: #f2f475;
$custom-light: #f9f7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f475",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 117
  },
  "hsl": {
    "h": 60.945,
    "s": 85.235,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9408,
    "c": 0.14949,
    "h": 109.8
  },
  "luminance": 0.84863
}

Semantic roles & 50–950 ramp

primary
#F2F475
secondary
#413FCE
accent
#04E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F475

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

Preview Lab → · Contrast checker → · Palette generator →

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