#F2F477#F2F477

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

Color values

HEX#F2F477
RGBrgb(242, 244, 119)
HSLhsl(61, 85%, 71%)
HSVhsv(61, 51%, 96%)
CMYKcmyk(0.8%, 0%, 51.2%, 4.3%)
CIE-LABlab(93.85, -17.05, 59.20)
CIE-LCHlch(93.85, 61.61, 106.06°)
OKLaboklab(94.1% -0.0499 0.139)
OKLCHoklch(94.1% 0.148 109.8)
XYZxyz(72.3001, 84.9122, 30.0303)
Luminance0.8491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F477 #7977F4
analogous
#F4B777 #F2F477 #B3F477
triadic
#F2F477 #77F2F4 #F477F2
tetradic
#F2F477 #77F4B7 #7977F4 #F477B3
square
#F2F477 #77F4B7 #7977F4 #F477B3
split-complementary
#F2F477 #77B3F4 #B777F4
monochromatic
#DBDF12 #EDEF3E #F2F477 #F7F9B0 #FCFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F477#FFFFFF#000000##000000
##F2F4771.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)
#FFEB6B
Deuteranopia (green-blind)
#FFEF7E
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f477;
/* rgb */ color: rgb(242, 244, 119);
/* oklch */ color: oklch(94.1% 0.148 109.8);
Tailwind
colors: {
  custom: {
    50: '#f9f7a1',
    500: '#f2f477',
    950: '#000000',
  },
}
SCSS
$custom: #f2f477;
$custom-light: #f9f7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f477",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 119
  },
  "hsl": {
    "h": 60.96,
    "s": 85.034,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94103,
    "c": 0.14766,
    "h": 109.8
  },
  "luminance": 0.84911
}

Semantic roles & 50–950 ramp

primary
#F2F477
secondary
#4341CF
accent
#04E208
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F477

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

Preview Lab → · Contrast checker → · Palette generator →

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