#F2E668#F2E668

#F2E668 is a very light, vivid yellow. Relative luminance 0.765; OKLCH L 91.1% C 0.147 H 103.9°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#F2E668
RGBrgb(242, 230, 104)
HSLhsl(55, 84%, 68%)
HSVhsv(55, 57%, 95%)
CMYKcmyk(0%, 5%, 57%, 5.1%)
CIE-LABlab(90.08, -11.33, 61.57)
CIE-LCHlch(90.08, 62.61, 100.42°)
OKLaboklab(91.06% -0.0352 0.1425)
OKLCHoklch(91.06% 0.147 103.9)
XYZxyz(67.4157, 76.4727, 24.3036)
Luminance0.7647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E668 #6874F2
analogous
#F2A168 #F2E668 #B9F268
triadic
#F2E668 #68F2E6 #E668F2
tetradic
#F2E668 #68F2A1 #6874F2 #F268B9
square
#F2E668 #68F2A1 #6874F2 #F268B9
split-complementary
#F2E668 #68B9F2 #A168F2
monochromatic
#CEBE12 #EDDD30 #F2E668 #F7EFA0 #FCF9D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E668#FFFFFF#000000##000000
##F2E6681.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)
#F8DF5B
Deuteranopia (green-blind)
#FCE56F
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e668;
/* rgb */ color: rgb(242, 230, 104);
/* oklch */ color: oklch(91.1% 0.147 103.9);
Tailwind
colors: {
  custom: {
    50: '#f9ed97',
    500: '#f2e668',
    950: '#000000',
  },
}
SCSS
$custom: #f2e668;
$custom-light: #f9ed97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e668",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 104
  },
  "hsl": {
    "h": 54.783,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.91056,
    "c": 0.14676,
    "h": 103.9
  },
  "luminance": 0.7647
}

Semantic roles & 50–950 ramp

primary
#F2E668
secondary
#3441CA
accent
#18E105
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E668

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

Preview Lab → · Contrast checker → · Palette generator →

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