#F2ED79#F2ED79

#F2ED79 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.7% C 0.138 H 106.6°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#F2ED79
RGBrgb(242, 237, 121)
HSLhsl(58, 82%, 71%)
HSVhsv(58, 50%, 95%)
CMYKcmyk(0%, 2.1%, 50%, 5.1%)
CIE-LABlab(92.06, -13.46, 56.19)
CIE-LCHlch(92.06, 57.78, 103.47°)
OKLaboklab(92.68% -0.0395 0.1326)
OKLCHoklch(92.68% 0.138 106.6)
XYZxyz(70.3551, 80.8280, 29.9807)
Luminance0.8083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED79 #797EF2
analogous
#F2B079 #F2ED79 #BAF279
triadic
#F2ED79 #79F2ED #ED79F2
tetradic
#F2ED79 #79F2B0 #797EF2 #F279BA
square
#F2ED79 #79F2B0 #797EF2 #F279BA
split-complementary
#F2ED79 #79BAF2 #B079F2
monochromatic
#DBD315 #EDE641 #F2ED79 #F7F4B1 #FCFBE3

Accessibility & contrast

On white

1.22
#F2ED79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#F2ED79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED79
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED79#FFFFFF#000000##000000
##F2ED791.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE56E
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#FFE0D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed79;
/* rgb */ color: rgb(242, 237, 121);
/* oklch */ color: oklch(92.7% 0.138 106.6);
Tailwind
colors: {
  custom: {
    50: '#f8f2a2',
    500: '#f2ed79',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed79;
$custom-light: #f8f2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed79",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 121
  },
  "hsl": {
    "h": 57.521,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92684,
    "c": 0.13836,
    "h": 106.6
  },
  "luminance": 0.80826
}

Semantic roles & 50–950 ramp

primary
#F2ED79
secondary
#4348CC
accent
#10DF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F2ED79

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

Preview Lab → · Contrast checker → · Palette generator →

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