#F2D776#F2D776

#F2D776 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.2% C 0.121 H 94.2°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#F2D776
RGBrgb(242, 215, 118)
HSLhsl(47, 83%, 71%)
HSVhsv(47, 51%, 95%)
CMYKcmyk(0%, 11.2%, 51.2%, 5.1%)
CIE-LABlab(86.40, -2.70, 50.85)
CIE-LCHlch(86.40, 50.92, 93.04°)
OKLaboklab(88.19% -0.0088 0.1207)
OKLCHoklch(88.19% 0.121 94.2)
XYZxyz(64.1907, 68.7889, 27.0324)
Luminance0.6879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D776 #7691F2
analogous
#F29976 #F2D776 #CFF276
triadic
#F2D776 #76F2D7 #D776F2
tetradic
#F2D776 #76F299 #7691F2 #F276CF
square
#F2D776 #76F299 #7691F2 #F276CF
split-complementary
#F2D776 #76CFF2 #9976F2
monochromatic
#D9AE15 #EDC73E #F2D776 #F7E7AE #FCF7E3

Accessibility & contrast

On white

1.42
#F2D776 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#F2D776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D776
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D776#FFFFFF#000000##000000
##F2D7761.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D36E
Deuteranopia (green-blind)
#F0DC7A
Tritanopia (blue-blind)
#FFCAC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f2d776;
/* rgb */ color: rgb(242, 215, 118);
/* oklch */ color: oklch(88.2% 0.121 94.2);
Tailwind
colors: {
  custom: {
    50: '#f9e39f',
    500: '#f2d776',
    950: '#000000',
  },
}
SCSS
$custom: #f2d776;
$custom-light: #f9e39f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d776",
  "rgb": {
    "r": 242,
    "g": 215,
    "b": 118
  },
  "hsl": {
    "h": 46.935,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88188,
    "c": 0.12099,
    "h": 94.2
  },
  "luminance": 0.68786
}

Semantic roles & 50–950 ramp

primary
#F2D776
secondary
#405FCC
accent
#36DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D776

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

Preview Lab → · Contrast checker → · Palette generator →

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