#F2E667#F2E667

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

Color values

HEX#F2E667
RGBrgb(242, 230, 103)
HSLhsl(55, 84%, 68%)
HSVhsv(55, 57%, 95%)
CMYKcmyk(0%, 5%, 57.4%, 5.1%)
CIE-LABlab(90.07, -11.40, 62.00)
CIE-LCHlch(90.07, 63.04, 100.42°)
OKLaboklab(91.05% -0.0355 0.1433)
OKLCHoklch(91.05% 0.148 103.9)
XYZxyz(67.3652, 76.4525, 24.0376)
Luminance0.7645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E667 #6773F2
analogous
#F2A067 #F2E667 #B9F267
triadic
#F2E667 #67F2E6 #E667F2
tetradic
#F2E667 #67F2A0 #6773F2 #F267B9
square
#F2E667 #67F2A0 #6773F2 #F267B9
split-complementary
#F2E667 #67B9F2 #A067F2
monochromatic
#CDBD12 #EDDD2F #F2E667 #F7EF9F #FCF9D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2E667#FFFFFF#000000##000000
##F2E6671.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)
#F8DF5A
Deuteranopia (green-blind)
#FCE56E
Tritanopia (blue-blind)
#FFD8CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f2e667;
/* rgb */ color: rgb(242, 230, 103);
/* oklch */ color: oklch(91.0% 0.148 103.9);
Tailwind
colors: {
  custom: {
    50: '#f9ed97',
    500: '#f2e667',
    950: '#000000',
  },
}
SCSS
$custom: #f2e667;
$custom-light: #f9ed97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e667",
  "rgb": {
    "r": 242,
    "g": 230,
    "b": 103
  },
  "hsl": {
    "h": 54.82,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.91046,
    "c": 0.14761,
    "h": 103.9
  },
  "luminance": 0.7645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2E667

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

Preview Lab → · Contrast checker → · Palette generator →

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