#F2E561#F2E561

#F2E561 is a very light, vivid yellow. Relative luminance 0.758; OKLCH L 90.8% C 0.152 H 103.7°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#F2E561
RGBrgb(242, 229, 97)
HSLhsl(55, 85%, 66%)
HSVhsv(55, 60%, 95%)
CMYKcmyk(0%, 5.4%, 59.9%, 5.1%)
CIE-LABlab(89.76, -11.31, 64.25)
CIE-LCHlch(89.76, 65.24, 99.99°)
OKLaboklab(90.78% -0.0359 0.1473)
OKLCHoklch(90.78% 0.152 103.7)
XYZxyz(66.7973, 75.7814, 22.4156)
Luminance0.7578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E561 #616EF2
analogous
#F29D61 #F2E561 #B7F261
triadic
#F2E561 #61F2E5 #E561F2
tetradic
#F2E561 #61F29D #616EF2 #F261B7
square
#F2E561 #61F29D #616EF2 #F261B7
split-complementary
#F2E561 #61B7F2 #9D61F2
monochromatic
#C8B810 #EDDC28 #F2E561 #F7EE9A #FBF8D2

Accessibility & contrast

On white

1.30
#F2E561 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#F2E561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E561
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E561#FFFFFF#000000##000000
##F2E5611.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE52
Deuteranopia (green-blind)
#FCE568
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e561;
/* rgb */ color: rgb(242, 229, 97);
/* oklch */ color: oklch(90.8% 0.152 103.7);
Tailwind
colors: {
  custom: {
    50: '#f9ec93',
    500: '#f2e561',
    950: '#000000',
  },
}
SCSS
$custom: #f2e561;
$custom-light: #f9ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e561",
  "rgb": {
    "r": 242,
    "g": 229,
    "b": 97
  },
  "hsl": {
    "h": 54.621,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90781,
    "c": 0.15162,
    "h": 103.7
  },
  "luminance": 0.75779
}

Semantic roles & 50–950 ramp

primary
#F2E561
secondary
#323FC5
accent
#18E104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E561

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

Preview Lab → · Contrast checker → · Palette generator →

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