#F1D462#F1D462

#F1D462 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.3% C 0.137 H 95.1°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#F1D462
RGBrgb(241, 212, 98)
HSLhsl(48, 84%, 66%)
HSVhsv(48, 59%, 95%)
CMYKcmyk(0%, 12%, 59.3%, 5.5%)
CIE-LABlab(85.34, -3.11, 58.88)
CIE-LCHlch(85.34, 58.97, 93.02°)
OKLaboklab(87.26% -0.0122 0.136)
OKLCHoklch(87.26% 0.137 95.1)
XYZxyz(62.0263, 66.6725, 21.1549)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D462 #627FF1
analogous
#F18D62 #F1D462 #C7F162
triadic
#F1D462 #62F1D4 #D462F1
tetradic
#F1D462 #62F18D #627FF1 #F162C7
square
#F1D462 #62F18D #627FF1 #F162C7
split-complementary
#F1D462 #62C7F1 #8D62F1
monochromatic
#C7A212 #ECC52A #F1D462 #F6E39A #FBF3D2

Accessibility & contrast

On white

1.47
#F1D462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.33
#F1D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D462
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D462#FFFFFF#000000##000000
##F1D4621.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#EFD967
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f1d462;
/* rgb */ color: rgb(241, 212, 98);
/* oklch */ color: oklch(87.3% 0.137 95.1);
Tailwind
colors: {
  custom: {
    50: '#f9e092',
    500: '#f1d462',
    950: '#000000',
  },
}
SCSS
$custom: #f1d462;
$custom-light: #f9e092;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d462",
  "rgb": {
    "r": 241,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 47.832,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8726,
    "c": 0.13657,
    "h": 95.1
  },
  "luminance": 0.6667
}

Semantic roles & 50–950 ramp

primary
#F1D462
secondary
#3351C4
accent
#32E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F1D462

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

Preview Lab → · Contrast checker → · Palette generator →

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