#F2E579#F2E579

#F2E579 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.0% C 0.130 H 102.5°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F2E579
RGBrgb(242, 229, 121)
HSLhsl(54, 82%, 71%)
HSVhsv(54, 50%, 95%)
CMYKcmyk(0%, 5.4%, 50%, 5.1%)
CIE-LABlab(90.00, -9.50, 53.74)
CIE-LCHlch(90.00, 54.58, 100.02°)
OKLaboklab(91.05% -0.0281 0.1273)
OKLCHoklch(91.05% 0.13 102.5)
XYZxyz(68.0904, 76.2986, 29.2258)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E579 #7986F2
analogous
#F2A879 #F2E579 #C2F279
triadic
#F2E579 #79F2E5 #E579F2
tetradic
#F2E579 #79F2A8 #7986F2 #F279C2
square
#F2E579 #79F2A8 #7986F2 #F279C2
split-complementary
#F2E579 #79C2F2 #A879F2
monochromatic
#DBC615 #EDDA41 #F2E579 #F7F0B1 #FCFAE3

Accessibility & contrast

On white

1.29
#F2E579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#F2E579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E579
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E579#FFFFFF#000000##000000
##F2E5791.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6F
Deuteranopia (green-blind)
#FAE57E
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e579;
/* rgb */ color: rgb(242, 229, 121);
/* oklch */ color: oklch(91.0% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#f8eda2',
    500: '#f2e579',
    950: '#000000',
  },
}
SCSS
$custom: #f2e579;
$custom-light: #f8eda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e579",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 121
  },
  "hsl": {
    "h": 53.554,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91049,
    "c": 0.13034,
    "h": 102.5
  },
  "luminance": 0.76296
}

Semantic roles & 50–950 ramp

primary
#F2E579
secondary
#4352CC
accent
#1EDF07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F2E579

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

Preview Lab → · Contrast checker → · Palette generator →

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