#F2D66C#F2D66C

#F2D66C is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.9% C 0.130 H 94.8°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#F2D66C
RGBrgb(242, 214, 108)
HSLhsl(47, 84%, 69%)
HSVhsv(47, 55%, 95%)
CMYKcmyk(0%, 11.6%, 55.4%, 5.1%)
CIE-LABlab(86.03, -2.99, 55.14)
CIE-LCHlch(86.03, 55.22, 93.11°)
OKLaboklab(87.86% -0.0108 0.1291)
OKLCHoklch(87.86% 0.13 94.8)
XYZxyz(63.3738, 68.0560, 23.9824)
Luminance0.6805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D66C #6C88F2
analogous
#F2936C #F2D66C #CBF26C
triadic
#F2D66C #6CF2D6 #D66CF2
tetradic
#F2D66C #6CF293 #6C88F2 #F26CCB
square
#F2D66C #6CF293 #6C88F2 #F26CCB
split-complementary
#F2D66C #6CCBF2 #936CF2
monochromatic
#D1A912 #EDC634 #F2D66C #F7E6A4 #FCF5DC

Accessibility & contrast

On white

1.44
#F2D66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#F2D66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D66C
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D66C#FFFFFF#000000##000000
##F2D66C1.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D262
Deuteranopia (green-blind)
#F0DB71
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d66c;
/* rgb */ color: rgb(242, 214, 108);
/* oklch */ color: oklch(87.9% 0.130 94.8);
Tailwind
colors: {
  custom: {
    50: '#f9e299',
    500: '#f2d66c',
    950: '#000000',
  },
}
SCSS
$custom: #f2d66c;
$custom-light: #f9e299;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d66c",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 108
  },
  "hsl": {
    "h": 47.463,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87864,
    "c": 0.12953,
    "h": 94.8
  },
  "luminance": 0.68053
}

Semantic roles & 50–950 ramp

primary
#F2D66C
secondary
#3756CB
accent
#33E005
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2D66C

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

Preview Lab → · Contrast checker → · Palette generator →

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