#F1D162#F1D162

#F1D162 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.7% C 0.134 H 93.3°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#F1D162
RGBrgb(241, 209, 98)
HSLhsl(47, 84%, 66%)
HSVhsv(47, 59%, 95%)
CMYKcmyk(0%, 13.3%, 59.3%, 5.5%)
CIE-LABlab(84.58, -1.58, 58.03)
CIE-LCHlch(84.58, 58.05, 91.56°)
OKLaboklab(86.66% -0.0078 0.1342)
OKLCHoklch(86.66% 0.134 93.3)
XYZxyz(61.2834, 65.1866, 20.9072)
Luminance0.6518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D162 #6282F1
analogous
#F18A62 #F1D162 #CAF162
triadic
#F1D162 #62F1D1 #D162F1
tetradic
#F1D162 #62F18A #6282F1 #F162CA
square
#F1D162 #62F18A #6282F1 #F162CA
split-complementary
#F1D162 #62CAF1 #8A62F1
monochromatic
#C79E12 #ECC12A #F1D162 #F6E19A #FBF2D2

Accessibility & contrast

On white

1.50
#F1D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#F1D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D162
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D162#FFFFFF#000000##000000
##F1D1621.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE57
Deuteranopia (green-blind)
#EDD767
Tritanopia (blue-blind)
#FFC2B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f1d162;
/* rgb */ color: rgb(241, 209, 98);
/* oklch */ color: oklch(86.7% 0.134 93.3);
Tailwind
colors: {
  custom: {
    50: '#f9de92',
    500: '#f1d162',
    950: '#000000',
  },
}
SCSS
$custom: #f1d162;
$custom-light: #f9de92;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d162",
  "rgb": {
    "r": 241,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 46.573,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8666,
    "c": 0.13443,
    "h": 93.3
  },
  "luminance": 0.65184
}

Semantic roles & 50–950 ramp

primary
#F1D162
secondary
#3354C4
accent
#36E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F1D162

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

Preview Lab → · Contrast checker → · Palette generator →

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