#F2D976#F2D976

#F2D976 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.123 H 95.5°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#F2D976
RGBrgb(242, 217, 118)
HSLhsl(48, 83%, 71%)
HSVhsv(48, 51%, 95%)
CMYKcmyk(0%, 10.3%, 51.2%, 5.1%)
CIE-LABlab(86.91, -3.71, 51.46)
CIE-LCHlch(86.91, 51.59, 94.13°)
OKLaboklab(88.59% -0.0118 0.122)
OKLCHoklch(88.59% 0.123 95.5)
XYZxyz(64.7030, 69.8137, 27.2032)
Luminance0.6981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D976 #768FF2
analogous
#F29B76 #F2D976 #CDF276
triadic
#F2D976 #76F2D9 #D976F2
tetradic
#F2D976 #76F29B #768FF2 #F276CD
square
#F2D976 #76F29B #768FF2 #F276CD
split-complementary
#F2D976 #76CDF2 #9B76F2
monochromatic
#D9B115 #EDC93E #F2D976 #F7E9AE #FCF7E3

Accessibility & contrast

On white

1.40
#F2D976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.96
#F2D976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D976
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D976#FFFFFF#000000##000000
##F2D9761.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56D
Deuteranopia (green-blind)
#F1DD7A
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f2d976;
/* rgb */ color: rgb(242, 217, 118);
/* oklch */ color: oklch(88.6% 0.123 95.5);
Tailwind
colors: {
  custom: {
    50: '#f9e4a0',
    500: '#f2d976',
    950: '#000000',
  },
}
SCSS
$custom: #f2d976;
$custom-light: #f9e4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d976",
  "rgb": {
    "r": 242,
    "g": 217,
    "b": 118
  },
  "hsl": {
    "h": 47.903,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88588,
    "c": 0.12257,
    "h": 95.5
  },
  "luminance": 0.69811
}

Semantic roles & 50–950 ramp

primary
#F2D976
secondary
#405CCC
accent
#32DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D976

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

Preview Lab → · Contrast checker → · Palette generator →

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