#F1D862#F1D862

#F1D862 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.1% C 0.140 H 97.4°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#F1D862
RGBrgb(241, 216, 98)
HSLhsl(50, 84%, 66%)
HSVhsv(50, 59%, 95%)
CMYKcmyk(0%, 10.4%, 59.3%, 5.5%)
CIE-LABlab(86.35, -5.14, 60.02)
CIE-LCHlch(86.35, 60.24, 94.90°)
OKLaboklab(88.06% -0.0181 0.1385)
OKLCHoklch(88.06% 0.14 97.4)
XYZxyz(63.0387, 68.6972, 21.4923)
Luminance0.6869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D862 #627BF1
analogous
#F19162 #F1D862 #C3F162
triadic
#F1D862 #62F1D8 #D862F1
tetradic
#F1D862 #62F191 #627BF1 #F162C3
square
#F1D862 #62F191 #627BF1 #F162C3
split-complementary
#F1D862 #62C3F1 #9162F1
monochromatic
#C7A712 #ECCA2A #F1D862 #F6E69A #FBF4D2

Accessibility & contrast

On white

1.42
#F1D862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#F1D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D862
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D862#FFFFFF#000000##000000
##F1D8621.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD356
Deuteranopia (green-blind)
#F2DC68
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #f1d862;
/* rgb */ color: rgb(241, 216, 98);
/* oklch */ color: oklch(88.1% 0.140 97.4);
Tailwind
colors: {
  custom: {
    50: '#f9e393',
    500: '#f1d862',
    950: '#000000',
  },
}
SCSS
$custom: #f1d862;
$custom-light: #f9e393;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d862",
  "rgb": {
    "r": 241,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 49.51,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88063,
    "c": 0.13963,
    "h": 97.4
  },
  "luminance": 0.68694
}

Semantic roles & 50–950 ramp

primary
#F1D862
secondary
#334DC4
accent
#2CE005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F1D862

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

Preview Lab → · Contrast checker → · Palette generator →

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