#F2E666#F2E666

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

Color values

HEX#F2E666
RGBrgb(242, 230, 102)
HSLhsl(55, 84%, 67%)
HSVhsv(55, 58%, 95%)
CMYKcmyk(0%, 5%, 57.9%, 5.1%)
CIE-LABlab(90.06, -11.47, 62.43)
CIE-LCHlch(90.06, 63.47, 100.41°)
OKLaboklab(91.04% -0.0358 0.1441)
OKLCHoklch(91.04% 0.148 104)
XYZxyz(67.3153, 76.4325, 23.7749)
Luminance0.7643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E666 #6672F2
analogous
#F2A066 #F2E666 #B8F266
triadic
#F2E666 #66F2E6 #E666F2
tetradic
#F2E666 #66F2A0 #6672F2 #F266B8
square
#F2E666 #66F2A0 #6672F2 #F266B8
split-complementary
#F2E666 #66B8F2 #A066F2
monochromatic
#CCBC11 #EDDD2E #F2E666 #F7EF9E #FCF8D7

Accessibility & contrast

On white

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

On black

16.29
#F2E666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E666
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E666#FFFFFF#000000##000000
##F2E6661.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e666;
/* rgb */ color: rgb(242, 230, 102);
/* oklch */ color: oklch(91.0% 0.148 104.0);
Tailwind
colors: {
  custom: {
    50: '#f9ed96',
    500: '#f2e666',
    950: '#000000',
  },
}
SCSS
$custom: #f2e666;
$custom-light: #f9ed96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e666",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 102
  },
  "hsl": {
    "h": 54.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.91036,
    "c": 0.14845,
    "h": 104
  },
  "luminance": 0.7643
}

Semantic roles & 50–950 ramp

primary
#F2E666
secondary
#3440C9
accent
#18E105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E666

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

Preview Lab → · Contrast checker → · Palette generator →

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