#F2E76C#F2E76C

#F2E76C is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.3% C 0.144 H 104.2°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#F2E76C
RGBrgb(242, 231, 108)
HSLhsl(55, 84%, 69%)
HSVhsv(55, 55%, 95%)
CMYKcmyk(0%, 4.5%, 55.4%, 5.1%)
CIE-LABlab(90.37, -11.53, 60.14)
CIE-LCHlch(90.37, 61.23, 100.85°)
OKLaboklab(91.3% -0.0353 0.1399)
OKLCHoklch(91.3% 0.144 104.2)
XYZxyz(67.9028, 77.1141, 25.4921)
Luminance0.7711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E76C #6C77F2
analogous
#F2A46C #F2E76C #BAF26C
triadic
#F2E76C #6CF2E7 #E76CF2
tetradic
#F2E76C #6CF2A4 #6C77F2 #F26CBA
square
#F2E76C #6CF2A4 #6C77F2 #F26CBA
split-complementary
#F2E76C #6CBAF2 #A46CF2
monochromatic
#D1C112 #EDDE34 #F2E76C #F7F0A4 #FCF9DC

Accessibility & contrast

On white

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

On black

16.42
#F2E76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E76C
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E76C#FFFFFF#000000##000000
##F2E76C1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E060
Deuteranopia (green-blind)
#FDE672
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e76c;
/* rgb */ color: rgb(242, 231, 108);
/* oklch */ color: oklch(91.3% 0.144 104.2);
Tailwind
colors: {
  custom: {
    50: '#f9ee9a',
    500: '#f2e76c',
    950: '#000000',
  },
}
SCSS
$custom: #f2e76c;
$custom-light: #f9ee9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e76c",
  "rgb": {
    "r": 242,
    "g": 231,
    "b": 108
  },
  "hsl": {
    "h": 55.075,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.91304,
    "c": 0.14425,
    "h": 104.2
  },
  "luminance": 0.77112
}

Semantic roles & 50–950 ramp

primary
#F2E76C
secondary
#3743CB
accent
#17E005
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E76C

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

Preview Lab → · Contrast checker → · Palette generator →

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