#F2E466#F2E466

#F2E466 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.6% C 0.147 H 103.0°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#F2E466
RGBrgb(242, 228, 102)
HSLhsl(54, 84%, 67%)
HSVhsv(54, 58%, 95%)
CMYKcmyk(0%, 5.8%, 57.9%, 5.1%)
CIE-LABlab(89.55, -10.48, 61.85)
CIE-LCHlch(89.55, 62.73, 99.61°)
OKLaboklab(90.63% -0.033 0.1428)
OKLCHoklch(90.63% 0.147 103)
XYZxyz(66.7619, 75.3258, 23.5904)
Luminance0.7532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E466 #6674F2
analogous
#F29E66 #F2E466 #BAF266
triadic
#F2E466 #66F2E4 #E466F2
tetradic
#F2E466 #66F29E #6674F2 #F266BA
square
#F2E466 #66F29E #6674F2 #F266BA
split-complementary
#F2E466 #66BAF2 #9E66F2
monochromatic
#CCBA11 #EDDA2E #F2E466 #F7EE9E #FCF8D7

Accessibility & contrast

On white

1.31
#F2E466 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#F2E466 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E466
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E466#FFFFFF#000000##000000
##F2E4661.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DD59
Deuteranopia (green-blind)
#FBE46D
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f2e466;
/* rgb */ color: rgb(242, 228, 102);
/* oklch */ color: oklch(90.6% 0.147 103.0);
Tailwind
colors: {
  custom: {
    50: '#f9ec96',
    500: '#f2e466',
    950: '#000000',
  },
}
SCSS
$custom: #f2e466;
$custom-light: #f9ec96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e466",
  "rgb": {
    "r": 242,
    "g": 228,
    "b": 102
  },
  "hsl": {
    "h": 54,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90627,
    "c": 0.1466,
    "h": 103
  },
  "luminance": 0.75323
}

Semantic roles & 50–950 ramp

primary
#F2E466
secondary
#3443C9
accent
#1BE105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E466

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

Preview Lab → · Contrast checker → · Palette generator →

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