#F2F976#F2F976

#F2F976 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.1% C 0.154 H 111.8°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#F2F976
RGBrgb(242, 249, 118)
HSLhsl(63, 92%, 72%)
HSVhsv(63, 53%, 98%)
CMYKcmyk(2.8%, 0%, 52.6%, 2.4%)
CIE-LABlab(95.13, -19.54, 61.15)
CIE-LCHlch(95.13, 64.19, 107.72°)
OKLaboklab(95.13% -0.0571 0.1431)
OKLCHoklch(95.13% 0.154 111.8)
XYZxyz(73.7653, 87.9381, 30.2240)
Luminance0.8794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F976 #7D76F9
analogous
#F9BF76 #F2F976 #B1F976
triadic
#F2F976 #76F2F9 #F976F2
tetradic
#F2F976 #76F9BF #7D76F9 #F976B1
square
#F2F976 #76F9BF #7D76F9 #F976B1
split-complementary
#F2F976 #76B1F9 #BF76F9
monochromatic
#DEEA0A #ECF63B #F2F976 #F8FCB1 #FCFEE2

Accessibility & contrast

On white

1.13
#F2F976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#F2F976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F976
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F976#FFFFFF#000000##000000
##F2F9761.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF69
Deuteranopia (green-blind)
#FFF37D
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2f976;
/* rgb */ color: rgb(242, 249, 118);
/* oklch */ color: oklch(95.1% 0.154 111.8);
Tailwind
colors: {
  custom: {
    50: '#f9fba1',
    500: '#f2f976',
    950: '#000000',
  },
}
SCSS
$custom: #f2f976;
$custom-light: #f9fba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f976",
  "rgb": {
    "r": 242,
    "g": 249,
    "b": 118
  },
  "hsl": {
    "h": 63.206,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95128,
    "c": 0.15405,
    "h": 111.8
  },
  "luminance": 0.87937
}

Semantic roles & 50–950 ramp

primary
#F2F976
secondary
#463ED5
accent
#00E60C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F976

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

Preview Lab → · Contrast checker → · Palette generator →

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