#F2DC66#F2DC66

#F2DC66 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.140 H 98.9°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#F2DC66
RGBrgb(242, 220, 102)
HSLhsl(51, 84%, 67%)
HSVhsv(51, 58%, 95%)
CMYKcmyk(0%, 9.1%, 57.9%, 5.1%)
CIE-LABlab(87.50, -6.47, 59.55)
CIE-LCHlch(87.50, 59.90, 96.20°)
OKLaboklab(89% -0.0215 0.1379)
OKLCHoklch(89% 0.14 98.9)
XYZxyz(64.6119, 71.0257, 22.8737)
Luminance0.7102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC66 #667CF2
analogous
#F29666 #F2DC66 #C2F266
triadic
#F2DC66 #66F2DC #DC66F2
tetradic
#F2DC66 #66F296 #667CF2 #F266C2
square
#F2DC66 #66F296 #667CF2 #F266C2
split-complementary
#F2DC66 #66C2F2 #9666F2
monochromatic
#CCAF11 #EDCF2E #F2DC66 #F7E99E #FCF6D7

Accessibility & contrast

On white

1.38
#F2DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.20
#F2DC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC66
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC66#FFFFFF#000000##000000
##F2DC661.001.3815.2015.20
#FFFFFF1.381.0021.0021.00
#00000015.2021.001.001.00
##00000015.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD75A
Deuteranopia (green-blind)
#F5DF6C
Tritanopia (blue-blind)
#FFCEC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f2dc66;
/* rgb */ color: rgb(242, 220, 102);
/* oklch */ color: oklch(89.0% 0.140 98.9);
Tailwind
colors: {
  custom: {
    50: '#f9e695',
    500: '#f2dc66',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc66;
$custom-light: #f9e695;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc66",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 102
  },
  "hsl": {
    "h": 50.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89002,
    "c": 0.13958,
    "h": 98.9
  },
  "luminance": 0.71023
}

Semantic roles & 50–950 ramp

primary
#F2DC66
secondary
#344BC9
accent
#27E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DC66

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

Preview Lab → · Contrast checker → · Palette generator →

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