#F2E166#F2E166

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

Color values

HEX#F2E166
RGBrgb(242, 225, 102)
HSLhsl(53, 84%, 67%)
HSVhsv(53, 58%, 95%)
CMYKcmyk(0%, 7%, 57.9%, 5.1%)
CIE-LABlab(88.78, -8.98, 60.99)
CIE-LCHlch(88.78, 61.65, 98.38°)
OKLaboklab(90.02% -0.0287 0.141)
OKLCHoklch(90.02% 0.144 101.5)
XYZxyz(65.9438, 73.6895, 23.3177)
Luminance0.7369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2E166 #6677F2
analogous
#F29B66 #F2E166 #BDF266
triadic
#F2E166 #66F2E1 #E166F2
tetradic
#F2E166 #66F29B #6677F2 #F266BD
square
#F2E166 #66F29B #6677F2 #F266BD
split-complementary
#F2E166 #66BDF2 #9B66F2
monochromatic
#CCB611 #EDD62E #F2E166 #F7EC9E #FCF7D7

Accessibility & contrast

On white

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

On black

15.74
#F2E166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2E166
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2E166#FFFFFF#000000##000000
##F2E1661.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2e166;
/* rgb */ color: rgb(242, 225, 102);
/* oklch */ color: oklch(90.0% 0.144 101.5);
Tailwind
colors: {
  custom: {
    50: '#f9ea96',
    500: '#f2e166',
    950: '#000000',
  },
}
SCSS
$custom: #f2e166;
$custom-light: #f9ea96;
$custom-dark: #000000;
JSON
{
  "hex": "#f2e166",
  "rgb": {
    "r": 242,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 52.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90016,
    "c": 0.14389,
    "h": 101.5
  },
  "luminance": 0.73687
}

Semantic roles & 50–950 ramp

primary
#F2E166
secondary
#3446C9
accent
#1FE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2E166

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

Preview Lab → · Contrast checker → · Palette generator →

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