#F1DF62#F1DF62

#F1DF62 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.5% C 0.145 H 101.2°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#F1DF62
RGBrgb(241, 223, 98)
HSLhsl(52, 84%, 66%)
HSVhsv(52, 59%, 95%)
CMYKcmyk(0%, 7.5%, 59.3%, 5.5%)
CIE-LABlab(88.14, -8.66, 62.01)
CIE-LCHlch(88.14, 62.62, 97.95°)
OKLaboklab(89.48% -0.0282 0.1427)
OKLCHoklch(89.48% 0.145 101.2)
XYZxyz(64.8703, 72.3605, 22.1029)
Luminance0.7236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DF62 #6274F1
analogous
#F19862 #F1DF62 #BBF162
triadic
#F1DF62 #62F1DF #DF62F1
tetradic
#F1DF62 #62F198 #6274F1 #F162BB
square
#F1DF62 #62F198 #6274F1 #F162BB
split-complementary
#F1DF62 #62BBF1 #9862F1
monochromatic
#C7B012 #ECD42A #F1DF62 #F6EA9A #FBF6D2

Accessibility & contrast

On white

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

On black

15.47
#F1DF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DF62
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DF62#FFFFFF#000000##000000
##F1DF621.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D954
Deuteranopia (green-blind)
#F7E068
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f1df62;
/* rgb */ color: rgb(241, 223, 98);
/* oklch */ color: oklch(89.5% 0.145 101.2);
Tailwind
colors: {
  custom: {
    50: '#f9e893',
    500: '#f1df62',
    950: '#000000',
  },
}
SCSS
$custom: #f1df62;
$custom-light: #f9e893;
$custom-dark: #000000;
JSON
{
  "hex": "#f1df62",
  "rgb": {
    "r": 241,
    "g": 223,
    "b": 98
  },
  "hsl": {
    "h": 52.448,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.89481,
    "c": 0.14546,
    "h": 101.2
  },
  "luminance": 0.72358
}

Semantic roles & 50–950 ramp

primary
#F1DF62
secondary
#3345C4
accent
#21E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F1DF62

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

Preview Lab → · Contrast checker → · Palette generator →

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