#F2E168#F2E168

#F2E168 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.0% C 0.142 H 101.4°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#F2E168
RGBrgb(242, 225, 104)
HSLhsl(53, 84%, 68%)
HSVhsv(53, 57%, 95%)
CMYKcmyk(0%, 7%, 57%, 5.1%)
CIE-LABlab(88.79, -8.84, 60.13)
CIE-LCHlch(88.79, 60.77, 98.36°)
OKLaboklab(90.04% -0.0281 0.1394)
OKLCHoklch(90.04% 0.142 101.4)
XYZxyz(66.0442, 73.7297, 23.8464)
Luminance0.7373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E168 #6879F2
analogous
#F29C68 #F2E168 #BEF268
triadic
#F2E168 #68F2E1 #E168F2
tetradic
#F2E168 #68F29C #6879F2 #F268BE
square
#F2E168 #68F29C #6879F2 #F268BE
split-complementary
#F2E168 #68BEF2 #9C68F2
monochromatic
#CEB712 #EDD630 #F2E168 #F7ECA0 #FCF7D9

Accessibility & contrast

On white

1.33
#F2E168 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#F2E168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E168
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E168#FFFFFF#000000##000000
##F2E1681.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB5C
Deuteranopia (green-blind)
#F8E26E
Tritanopia (blue-blind)
#FFD3C6
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f2e168;
/* rgb */ color: rgb(242, 225, 104);
/* oklch */ color: oklch(90.0% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#f9ea97',
    500: '#f2e168',
    950: '#000000',
  },
}
SCSS
$custom: #f2e168;
$custom-light: #f9ea97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e168",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 104
  },
  "hsl": {
    "h": 52.609,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90037,
    "c": 0.14218,
    "h": 101.4
  },
  "luminance": 0.73727
}

Semantic roles & 50–950 ramp

primary
#F2E168
secondary
#3447CA
accent
#20E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E168

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

Preview Lab → · Contrast checker → · Palette generator →

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