#F2E776#F2E776

#F2E776 is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.4% C 0.135 H 103.7°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#F2E776
RGBrgb(242, 231, 118)
HSLhsl(55, 83%, 71%)
HSVhsv(55, 51%, 95%)
CMYKcmyk(0%, 4.5%, 51.2%, 5.1%)
CIE-LABlab(90.48, -10.74, 55.71)
CIE-LCHlch(90.48, 56.74, 100.92°)
OKLaboklab(91.42% -0.032 0.1313)
OKLCHoklch(91.42% 0.135 103.7)
XYZxyz(68.4658, 77.3393, 28.4575)
Luminance0.7734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E776 #7681F2
analogous
#F2A976 #F2E776 #BFF276
triadic
#F2E776 #76F2E7 #E776F2
tetradic
#F2E776 #76F2A9 #7681F2 #F276BF
square
#F2E776 #76F2A9 #7681F2 #F276BF
split-complementary
#F2E776 #76BFF2 #A976F2
monochromatic
#D9C815 #EDDD3E #F2E776 #F7F1AE #FCFAE3

Accessibility & contrast

On white

1.28
#F2E776 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.47
#F2E776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E776
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E776#FFFFFF#000000##000000
##F2E7761.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E06C
Deuteranopia (green-blind)
#FCE67B
Tritanopia (blue-blind)
#FFDACD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f2e776;
/* rgb */ color: rgb(242, 231, 118);
/* oklch */ color: oklch(91.4% 0.135 103.7);
Tailwind
colors: {
  custom: {
    50: '#f9eea0',
    500: '#f2e776',
    950: '#000000',
  },
}
SCSS
$custom: #f2e776;
$custom-light: #f9eea0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e776",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 118
  },
  "hsl": {
    "h": 54.677,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91419,
    "c": 0.13515,
    "h": 103.7
  },
  "luminance": 0.77337
}

Semantic roles & 50–950 ramp

primary
#F2E776
secondary
#404DCC
accent
#1ADF06
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E776

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

Preview Lab → · Contrast checker → · Palette generator →

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