#F2DD66#F2DD66

#F2DD66 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.2% C 0.140 H 99.4°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#F2DD66
RGBrgb(242, 221, 102)
HSLhsl(51, 84%, 67%)
HSVhsv(51, 58%, 95%)
CMYKcmyk(0%, 8.7%, 57.9%, 5.1%)
CIE-LABlab(87.75, -6.98, 59.84)
CIE-LCHlch(87.75, 60.24, 96.65°)
OKLaboklab(89.2% -0.023 0.1385)
OKLCHoklch(89.2% 0.14 99.4)
XYZxyz(64.8751, 71.5521, 22.9615)
Luminance0.7155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DD66 #667BF2
analogous
#F29766 #F2DD66 #C1F266
triadic
#F2DD66 #66F2DD #DD66F2
tetradic
#F2DD66 #66F297 #667BF2 #F266C1
square
#F2DD66 #66F297 #667BF2 #F266C1
split-complementary
#F2DD66 #66C1F2 #9766F2
monochromatic
#CCB011 #EDD02E #F2DD66 #F7EA9E #FCF6D7

Accessibility & contrast

On white

1.37
#F2DD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#F2DD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DD66
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DD66#FFFFFF#000000##000000
##F2DD661.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D85A
Deuteranopia (green-blind)
#F6DF6C
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f2dd66;
/* rgb */ color: rgb(242, 221, 102);
/* oklch */ color: oklch(89.2% 0.140 99.4);
Tailwind
colors: {
  custom: {
    50: '#f9e795',
    500: '#f2dd66',
    950: '#000000',
  },
}
SCSS
$custom: #f2dd66;
$custom-light: #f9e795;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dd66",
  "rgb": {
    "r": 242,
    "g": 221,
    "b": 102
  },
  "hsl": {
    "h": 51,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89204,
    "c": 0.14042,
    "h": 99.4
  },
  "luminance": 0.71549
}

Semantic roles & 50–950 ramp

primary
#F2DD66
secondary
#344AC9
accent
#26E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F2DD66

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

Preview Lab → · Contrast checker → · Palette generator →

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