#F2D666#F2D666

#F2D666 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.135 H 95.4°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#F2D666
RGBrgb(242, 214, 102)
HSLhsl(48, 84%, 67%)
HSVhsv(48, 58%, 95%)
CMYKcmyk(0%, 11.6%, 57.9%, 5.1%)
CIE-LABlab(85.97, -3.44, 57.82)
CIE-LCHlch(85.97, 57.92, 93.40°)
OKLaboklab(87.8% -0.0128 0.1342)
OKLCHoklch(87.8% 0.135 95.4)
XYZxyz(63.0654, 67.9326, 22.3582)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D666 #6682F2
analogous
#F29066 #F2D666 #C8F266
triadic
#F2D666 #66F2D6 #D666F2
tetradic
#F2D666 #66F290 #6682F2 #F266C8
square
#F2D666 #66F290 #6682F2 #F266C8
split-complementary
#F2D666 #66C8F2 #9066F2
monochromatic
#CCA711 #EDC72E #F2D666 #F7E59E #FCF4D7

Accessibility & contrast

On white

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

On black

14.59
#F2D666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D666
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D666#FFFFFF#000000##000000
##F2D6661.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#F0DB6B
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f2d666;
/* rgb */ color: rgb(242, 214, 102);
/* oklch */ color: oklch(87.8% 0.135 95.4);
Tailwind
colors: {
  custom: {
    50: '#f9e295',
    500: '#f2d666',
    950: '#000000',
  },
}
SCSS
$custom: #f2d666;
$custom-light: #f9e295;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d666",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 48,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87795,
    "c": 0.13481,
    "h": 95.4
  },
  "luminance": 0.6793
}

Semantic roles & 50–950 ramp

primary
#F2D666
secondary
#3451C9
accent
#31E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F2D666

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

Preview Lab → · Contrast checker → · Palette generator →

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