#F1DC62#F1DC62

#F1DC62 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.9% C 0.143 H 99.6°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#F1DC62
RGBrgb(241, 220, 98)
HSLhsl(51, 84%, 66%)
HSVhsv(51, 59%, 95%)
CMYKcmyk(0%, 8.7%, 59.3%, 5.5%)
CIE-LABlab(87.37, -7.16, 61.16)
CIE-LCHlch(87.37, 61.58, 96.68°)
OKLaboklab(88.87% -0.0239 0.1409)
OKLCHoklch(88.87% 0.143 99.6)
XYZxyz(64.0759, 70.7717, 21.8380)
Luminance0.7077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DC62 #6277F1
analogous
#F19562 #F1DC62 #BFF162
triadic
#F1DC62 #62F1DC #DC62F1
tetradic
#F1DC62 #62F195 #6277F1 #F162BF
square
#F1DC62 #62F195 #6277F1 #F162BF
split-complementary
#F1DC62 #62BFF1 #9562F1
monochromatic
#C7AC12 #ECCF2A #F1DC62 #F6E99A #FBF5D2

Accessibility & contrast

On white

1.39
#F1DC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.15
#F1DC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DC62
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DC62#FFFFFF#000000##000000
##F1DC621.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD655
Deuteranopia (green-blind)
#F5DE68
Tritanopia (blue-blind)
#FFCEC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f1dc62;
/* rgb */ color: rgb(241, 220, 98);
/* oklch */ color: oklch(88.9% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#f9e693',
    500: '#f1dc62',
    950: '#000000',
  },
}
SCSS
$custom: #f1dc62;
$custom-light: #f9e693;
$custom-dark: #000000;
JSON
{
  "hex": "#f1dc62",
  "rgb": {
    "r": 241,
    "g": 220,
    "b": 98
  },
  "hsl": {
    "h": 51.189,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88872,
    "c": 0.1429,
    "h": 99.6
  },
  "luminance": 0.70769
}

Semantic roles & 50–950 ramp

primary
#F1DC62
secondary
#3348C4
accent
#26E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F1DC62

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

Preview Lab → · Contrast checker → · Palette generator →

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