#F2DF66#F2DF66

#F2DF66 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.142 H 100.5°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#F2DF66
RGBrgb(242, 223, 102)
HSLhsl(52, 84%, 67%)
HSVhsv(52, 58%, 95%)
CMYKcmyk(0%, 7.9%, 57.9%, 5.1%)
CIE-LABlab(88.26, -7.98, 60.41)
CIE-LCHlch(88.26, 60.94, 97.52°)
OKLaboklab(89.61% -0.0258 0.1398)
OKLCHoklch(89.61% 0.142 100.5)
XYZxyz(65.4063, 72.6145, 23.1385)
Luminance0.7261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DF66 #6679F2
analogous
#F29966 #F2DF66 #BFF266
triadic
#F2DF66 #66F2DF #DF66F2
tetradic
#F2DF66 #66F299 #6679F2 #F266BF
square
#F2DF66 #66F299 #6679F2 #F266BF
split-complementary
#F2DF66 #66BFF2 #9966F2
monochromatic
#CCB311 #EDD32E #F2DF66 #F7EB9E #FCF7D7

Accessibility & contrast

On white

1.35
#F2DF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#F2DF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DF66
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DF66#FFFFFF#000000##000000
##F2DF661.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D959
Deuteranopia (green-blind)
#F7E16C
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2df66;
/* rgb */ color: rgb(242, 223, 102);
/* oklch */ color: oklch(89.6% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#f9e896',
    500: '#f2df66',
    950: '#000000',
  },
}
SCSS
$custom: #f2df66;
$custom-light: #f9e896;
$custom-dark: #000000;
JSON
{
  "hex": "#f2df66",
  "rgb": {
    "r": 242,
    "g": 223,
    "b": 102
  },
  "hsl": {
    "h": 51.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89609,
    "c": 0.14213,
    "h": 100.5
  },
  "luminance": 0.72612
}

Semantic roles & 50–950 ramp

primary
#F2DF66
secondary
#3448C9
accent
#23E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DF66

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

Preview Lab → · Contrast checker → · Palette generator →

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