#F2E661#F2E661

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

Color values

HEX#F2E661
RGBrgb(242, 230, 97)
HSLhsl(55, 85%, 66%)
HSVhsv(55, 60%, 95%)
CMYKcmyk(0%, 5%, 59.9%, 5.1%)
CIE-LABlab(90.02, -11.81, 64.53)
CIE-LCHlch(90.02, 65.60, 100.37°)
OKLaboklab(90.99% -0.0373 0.1479)
OKLCHoklch(90.99% 0.153 104.2)
XYZxyz(67.0748, 76.3363, 22.5081)
Luminance0.7633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E661 #616DF2
analogous
#F29E61 #F2E661 #B6F261
triadic
#F2E661 #61F2E6 #E661F2
tetradic
#F2E661 #61F29E #616DF2 #F261B6
square
#F2E661 #61F29E #616DF2 #F261B6
split-complementary
#F2E661 #61B6F2 #9E61F2
monochromatic
#C8B910 #EDDD28 #F2E661 #F7EF9A #FBF8D2

Accessibility & contrast

On white

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

On black

16.27
#F2E661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E661
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E661#FFFFFF#000000##000000
##F2E6611.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF52
Deuteranopia (green-blind)
#FDE568
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e661;
/* rgb */ color: rgb(242, 230, 97);
/* oklch */ color: oklch(91.0% 0.153 104.2);
Tailwind
colors: {
  custom: {
    50: '#f9ed93',
    500: '#f2e661',
    950: '#000000',
  },
}
SCSS
$custom: #f2e661;
$custom-light: #f9ed93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e661",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 97
  },
  "hsl": {
    "h": 55.034,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90986,
    "c": 0.15254,
    "h": 104.2
  },
  "luminance": 0.76334
}

Semantic roles & 50–950 ramp

primary
#F2E661
secondary
#323EC5
accent
#17E104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E661

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

Preview Lab → · Contrast checker → · Palette generator →

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