#F2E663#F2E663

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

Color values

HEX#F2E663
RGBrgb(242, 230, 99)
HSLhsl(55, 85%, 67%)
HSVhsv(55, 59%, 95%)
CMYKcmyk(0%, 5%, 59.1%, 5.1%)
CIE-LABlab(90.03, -11.67, 63.69)
CIE-LCHlch(90.03, 64.76, 100.39°)
OKLaboklab(91.01% -0.0367 0.1464)
OKLCHoklch(91.01% 0.151 104.1)
XYZxyz(67.1692, 76.3741, 23.0055)
Luminance0.7637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E663 #636FF2
analogous
#F29F63 #F2E663 #B7F263
triadic
#F2E663 #63F2E6 #E663F2
tetradic
#F2E663 #63F29F #636FF2 #F263B7
square
#F2E663 #63F29F #636FF2 #F263B7
split-complementary
#F2E663 #63B7F2 #9F63F2
monochromatic
#CABA11 #EDDD2B #F2E663 #F7EF9B #FBF8D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E663#FFFFFF#000000##000000
##F2E6631.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)
#F8DF54
Deuteranopia (green-blind)
#FDE56A
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f2e663;
/* rgb */ color: rgb(242, 230, 99);
/* oklch */ color: oklch(91.0% 0.151 104.1);
Tailwind
colors: {
  custom: {
    50: '#f9ed94',
    500: '#f2e663',
    950: '#000000',
  },
}
SCSS
$custom: #f2e663;
$custom-light: #f9ed94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e663",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 99
  },
  "hsl": {
    "h": 54.965,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.91005,
    "c": 0.15093,
    "h": 104.1
  },
  "luminance": 0.76372
}

Semantic roles & 50–950 ramp

primary
#F2E663
secondary
#333FC6
accent
#17E104
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160D
muted
#86847F

Preview Lab

Preview with #F2E663

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

Preview Lab → · Contrast checker → · Palette generator →

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