#F2D166#F2D166

#F2D166 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.8% C 0.131 H 92.4°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#F2D166
RGBrgb(242, 209, 102)
HSLhsl(46, 84%, 67%)
HSVhsv(46, 58%, 95%)
CMYKcmyk(0%, 13.6%, 57.9%, 5.1%)
CIE-LABlab(84.71, -0.89, 56.38)
CIE-LCHlch(84.71, 56.39, 90.90°)
OKLaboklab(86.8% -0.0054 0.1311)
OKLCHoklch(86.8% 0.131 92.4)
XYZxyz(61.8193, 65.4406, 21.9429)
Luminance0.6544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D166 #6687F2
analogous
#F28B66 #F2D166 #CDF266
triadic
#F2D166 #66F2D1 #D166F2
tetradic
#F2D166 #66F28B #6687F2 #F266CD
square
#F2D166 #66F28B #6687F2 #F266CD
split-complementary
#F2D166 #66CDF2 #8B66F2
monochromatic
#CCA011 #EDC02E #F2D166 #F7E29E #FCF3D7

Accessibility & contrast

On white

1.49
#F2D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#F2D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D166
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D166#FFFFFF#000000##000000
##F2D1661.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE5B
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f2d166;
/* rgb */ color: rgb(242, 209, 102);
/* oklch */ color: oklch(86.8% 0.131 92.4);
Tailwind
colors: {
  custom: {
    50: '#f9de95',
    500: '#f2d166',
    950: '#000000',
  },
}
SCSS
$custom: #f2d166;
$custom-light: #f9de95;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d166",
  "rgb": {
    "r": 242,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 45.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86797,
    "c": 0.13121,
    "h": 92.4
  },
  "luminance": 0.65437
}

Semantic roles & 50–950 ramp

primary
#F2D166
secondary
#3457C9
accent
#39E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D166

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

Preview Lab → · Contrast checker → · Palette generator →

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