#F2DC68#F2DC68

#F2DC68 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 89.0% C 0.138 H 98.7°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#F2DC68
RGBrgb(242, 220, 104)
HSLhsl(50, 84%, 68%)
HSVhsv(50, 57%, 95%)
CMYKcmyk(0%, 9.1%, 57%, 5.1%)
CIE-LABlab(87.52, -6.33, 58.68)
CIE-LCHlch(87.52, 59.02, 96.16°)
OKLaboklab(89.02% -0.0209 0.1363)
OKLCHoklch(89.02% 0.138 98.7)
XYZxyz(64.7123, 71.0658, 23.4024)
Luminance0.7106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2DC68 #687EF2
analogous
#F29768 #F2DC68 #C3F268
triadic
#F2DC68 #68F2DC #DC68F2
tetradic
#F2DC68 #68F297 #687EF2 #F268C3
square
#F2DC68 #68F297 #687EF2 #F268C3
split-complementary
#F2DC68 #68C3F2 #9768F2
monochromatic
#CEB012 #EDCF30 #F2DC68 #F7E9A0 #FCF6D9

Accessibility & contrast

On white

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

On black

15.21
#F2DC68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2DC68
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2DC68#FFFFFF#000000##000000
##F2DC681.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2dc68;
/* rgb */ color: rgb(242, 220, 104);
/* oklch */ color: oklch(89.0% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#f9e697',
    500: '#f2dc68',
    950: '#000000',
  },
}
SCSS
$custom: #f2dc68;
$custom-light: #f9e697;
$custom-dark: #000000;
JSON
{
  "hex": "#f2dc68",
  "rgb": {
    "r": 242,
    "g": 220,
    "b": 104
  },
  "hsl": {
    "h": 50.435,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89024,
    "c": 0.13786,
    "h": 98.7
  },
  "luminance": 0.71063
}

Semantic roles & 50–950 ramp

primary
#F2DC68
secondary
#344CCA
accent
#28E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F2DC68

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

Preview Lab → · Contrast checker → · Palette generator →

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