#F2EC76#F2EC76

#F2EC76 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.4% C 0.140 H 106.2°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#F2EC76
RGBrgb(242, 236, 118)
HSLhsl(57, 83%, 71%)
HSVhsv(57, 51%, 95%)
CMYKcmyk(0%, 2.5%, 51.2%, 5.1%)
CIE-LABlab(91.76, -13.22, 57.22)
CIE-LCHlch(91.76, 58.73, 103.00°)
OKLaboklab(92.44% -0.0391 0.1346)
OKLCHoklch(92.44% 0.14 106.2)
XYZxyz(69.8853, 80.1782, 28.9306)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC76 #767CF2
analogous
#F2AE76 #F2EC76 #BAF276
triadic
#F2EC76 #76F2EC #EC76F2
tetradic
#F2EC76 #76F2AE #767CF2 #F276BA
square
#F2EC76 #76F2AE #767CF2 #F276BA
split-complementary
#F2EC76 #76BAF2 #AE76F2
monochromatic
#D9D015 #EDE43E #F2EC76 #F7F4AE #FCFBE3

Accessibility & contrast

On white

1.23
#F2EC76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#F2EC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC76
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC76#FFFFFF#000000##000000
##F2EC761.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46B
Deuteranopia (green-blind)
#FFEA7C
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec76;
/* rgb */ color: rgb(242, 236, 118);
/* oklch */ color: oklch(92.4% 0.140 106.2);
Tailwind
colors: {
  custom: {
    50: '#f9f1a0',
    500: '#f2ec76',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec76;
$custom-light: #f9f1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec76",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 118
  },
  "hsl": {
    "h": 57.097,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92442,
    "c": 0.14015,
    "h": 106.2
  },
  "luminance": 0.80176
}

Semantic roles & 50–950 ramp

primary
#F2EC76
secondary
#4047CC
accent
#11DF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F2EC76

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

Preview Lab → · Contrast checker → · Palette generator →

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