#F2D876#F2D876

#F2D876 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.4% C 0.122 H 94.9°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#F2D876
RGBrgb(242, 216, 118)
HSLhsl(47, 83%, 71%)
HSVhsv(47, 51%, 95%)
CMYKcmyk(0%, 10.7%, 51.2%, 5.1%)
CIE-LABlab(86.65, -3.21, 51.15)
CIE-LCHlch(86.65, 51.25, 93.59°)
OKLaboklab(88.39% -0.0103 0.1213)
OKLCHoklch(88.39% 0.122 94.9)
XYZxyz(64.4461, 69.2997, 27.1176)
Luminance0.6930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D876 #7690F2
analogous
#F29A76 #F2D876 #CEF276
triadic
#F2D876 #76F2D8 #D876F2
tetradic
#F2D876 #76F29A #7690F2 #F276CE
square
#F2D876 #76F29A #7690F2 #F276CE
split-complementary
#F2D876 #76CEF2 #9A76F2
monochromatic
#D9B015 #EDC83E #F2D876 #F7E8AE #FCF7E3

Accessibility & contrast

On white

1.41
#F2D876 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#F2D876 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D876
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D876#FFFFFF#000000##000000
##F2D8761.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46D
Deuteranopia (green-blind)
#F1DC7A
Tritanopia (blue-blind)
#FFCBC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f2d876;
/* rgb */ color: rgb(242, 216, 118);
/* oklch */ color: oklch(88.4% 0.122 94.9);
Tailwind
colors: {
  custom: {
    50: '#f9e3a0',
    500: '#f2d876',
    950: '#000000',
  },
}
SCSS
$custom: #f2d876;
$custom-light: #f9e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d876",
  "rgb": {
    "r": 242,
    "g": 216,
    "b": 118
  },
  "hsl": {
    "h": 47.419,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.88388,
    "c": 0.12178,
    "h": 94.9
  },
  "luminance": 0.69297
}

Semantic roles & 50–950 ramp

primary
#F2D876
secondary
#405DCC
accent
#34DF06
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F2D876

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

Preview Lab → · Contrast checker → · Palette generator →

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