#F2DE66#F2DE66

#F2DE66 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.4% C 0.141 H 99.9°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#F2DE66
RGBrgb(242, 222, 102)
HSLhsl(51, 84%, 67%)
HSVhsv(51, 58%, 95%)
CMYKcmyk(0%, 8.3%, 57.9%, 5.1%)
CIE-LABlab(88.01, -7.48, 60.13)
CIE-LCHlch(88.01, 60.59, 97.09°)
OKLaboklab(89.41% -0.0244 0.1392)
OKLCHoklch(89.41% 0.141 99.9)
XYZxyz(65.1399, 72.0818, 23.0497)
Luminance0.7208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DE66 #667AF2
analogous
#F29866 #F2DE66 #C0F266
triadic
#F2DE66 #66F2DE #DE66F2
tetradic
#F2DE66 #66F298 #667AF2 #F266C0
square
#F2DE66 #66F298 #667AF2 #F266C0
split-complementary
#F2DE66 #66C0F2 #9866F2
monochromatic
#CCB211 #EDD22E #F2DE66 #F7EA9E #FCF6D7

Accessibility & contrast

On white

1.36
#F2DE66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#F2DE66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DE66
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DE66#FFFFFF#000000##000000
##F2DE661.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D85A
Deuteranopia (green-blind)
#F6E06C
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f2de66;
/* rgb */ color: rgb(242, 222, 102);
/* oklch */ color: oklch(89.4% 0.141 99.9);
Tailwind
colors: {
  custom: {
    50: '#f9e895',
    500: '#f2de66',
    950: '#000000',
  },
}
SCSS
$custom: #f2de66;
$custom-light: #f9e895;
$custom-dark: #000000;
JSON
{
  "hex": "#f2de66",
  "rgb": {
    "r": 242,
    "g": 222,
    "b": 102
  },
  "hsl": {
    "h": 51.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89407,
    "c": 0.14127,
    "h": 99.9
  },
  "luminance": 0.72079
}

Semantic roles & 50–950 ramp

primary
#F2DE66
secondary
#3449C9
accent
#24E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DE66

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

Preview Lab → · Contrast checker → · Palette generator →

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