#F2E976#F2E976

#F2E976 is a very light, vivid yellow. Relative luminance 0.785; OKLCH L 91.8% C 0.137 H 104.7°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#F2E976
RGBrgb(242, 233, 118)
HSLhsl(56, 83%, 71%)
HSVhsv(56, 51%, 95%)
CMYKcmyk(0%, 3.7%, 51.2%, 5.1%)
CIE-LABlab(90.99, -11.74, 56.32)
CIE-LCHlch(90.99, 57.53, 101.77°)
OKLaboklab(91.83% -0.0349 0.1326)
OKLCHoklch(91.83% 0.137 104.7)
XYZxyz(69.0288, 78.4652, 28.6451)
Luminance0.7846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E976 #767FF2
analogous
#F2AB76 #F2E976 #BDF276
triadic
#F2E976 #76F2E9 #E976F2
tetradic
#F2E976 #76F2AB #767FF2 #F276BD
square
#F2E976 #76F2AB #767FF2 #F276BD
split-complementary
#F2E976 #76BDF2 #AB76F2
monochromatic
#D9CB15 #EDE03E #F2E976 #F7F2AE #FCFBE3

Accessibility & contrast

On white

1.26
#F2E976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.69
#F2E976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E976
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E976#FFFFFF#000000##000000
##F2E9761.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26B
Deuteranopia (green-blind)
#FDE87C
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f2e976;
/* rgb */ color: rgb(242, 233, 118);
/* oklch */ color: oklch(91.8% 0.137 104.7);
Tailwind
colors: {
  custom: {
    50: '#f9efa0',
    500: '#f2e976',
    950: '#000000',
  },
}
SCSS
$custom: #f2e976;
$custom-light: #f9efa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e976",
  "rgb": {
    "r": 242,
    "g": 233,
    "b": 118
  },
  "hsl": {
    "h": 55.645,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91828,
    "c": 0.13712,
    "h": 104.7
  },
  "luminance": 0.78463
}

Semantic roles & 50–950 ramp

primary
#F2E976
secondary
#404ACC
accent
#16DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2E976

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

Preview Lab → · Contrast checker → · Palette generator →

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