#F1D962#F1D962

#F1D962 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.140 H 98.0°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#F1D962
RGBrgb(241, 217, 98)
HSLhsl(50, 84%, 66%)
HSVhsv(50, 59%, 95%)
CMYKcmyk(0%, 10%, 59.3%, 5.5%)
CIE-LABlab(86.61, -5.65, 60.31)
CIE-LCHlch(86.61, 60.57, 95.35°)
OKLaboklab(88.27% -0.0195 0.1391)
OKLCHoklch(88.27% 0.14 98)
XYZxyz(63.2956, 69.2111, 21.5779)
Luminance0.6921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D962 #627AF1
analogous
#F19262 #F1D962 #C2F162
triadic
#F1D962 #62F1D9 #D962F1
tetradic
#F1D962 #62F192 #627AF1 #F162C2
square
#F1D962 #62F192 #627AF1 #F162C2
split-complementary
#F1D962 #62C2F1 #9262F1
monochromatic
#C7A812 #ECCB2A #F1D962 #F6E79A #FBF4D2

Accessibility & contrast

On white

1.41
#F1D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#F1D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D962
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D962#FFFFFF#000000##000000
##F1D9621.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD455
Deuteranopia (green-blind)
#F3DC68
Tritanopia (blue-blind)
#FFCBBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f1d962;
/* rgb */ color: rgb(241, 217, 98);
/* oklch */ color: oklch(88.3% 0.140 98.0);
Tailwind
colors: {
  custom: {
    50: '#f9e493',
    500: '#f1d962',
    950: '#000000',
  },
}
SCSS
$custom: #f1d962;
$custom-light: #f9e493;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d962",
  "rgb": {
    "r": 241,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 49.93,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88265,
    "c": 0.14043,
    "h": 98
  },
  "luminance": 0.69208
}

Semantic roles & 50–950 ramp

primary
#F1D962
secondary
#334CC4
accent
#2AE005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F1D962

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

Preview Lab → · Contrast checker → · Palette generator →

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