#F2F576#F2F576

#F2F576 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.3% C 0.150 H 110.2°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#F2F576
RGBrgb(242, 245, 118)
HSLhsl(61, 86%, 71%)
HSVhsv(61, 52%, 96%)
CMYKcmyk(1.2%, 0%, 51.8%, 3.9%)
CIE-LABlab(94.09, -17.61, 59.94)
CIE-LCHlch(94.09, 62.48, 106.37°)
OKLaboklab(94.3% -0.0516 0.1405)
OKLCHoklch(94.3% 0.15 110.2)
XYZxyz(72.5421, 85.4917, 29.8162)
Luminance0.8549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F576 #7976F5
analogous
#F5B876 #F2F576 #B2F576
triadic
#F2F576 #76F2F5 #F576F2
tetradic
#F2F576 #76F5B8 #7976F5 #F576B2
square
#F2F576 #76F5B8 #7976F5 #F576B2
split-complementary
#F2F576 #76B2F5 #B876F5
monochromatic
#DBE010 #EDF13D #F2F576 #F7F9AF #FCFDE2

Accessibility & contrast

On white

1.16
#F2F576 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#F2F576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F576
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F576#FFFFFF#000000##000000
##F2F5761.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6A
Deuteranopia (green-blind)
#FFF07D
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f576;
/* rgb */ color: rgb(242, 245, 118);
/* oklch */ color: oklch(94.3% 0.150 110.2);
Tailwind
colors: {
  custom: {
    50: '#f9f8a1',
    500: '#f2f576',
    950: '#000000',
  },
}
SCSS
$custom: #f2f576;
$custom-light: #f9f8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f576",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 118
  },
  "hsl": {
    "h": 61.417,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94298,
    "c": 0.14966,
    "h": 110.2
  },
  "luminance": 0.8549
}

Semantic roles & 50–950 ramp

primary
#F2F576
secondary
#433FD0
accent
#03E308
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F576

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

Preview Lab → · Contrast checker → · Palette generator →

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