#F1D45C#F1D45C

#F1D45C is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.2% C 0.141 H 95.7°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#F1D45C
RGBrgb(241, 212, 92)
HSLhsl(48, 84%, 65%)
HSVhsv(48, 62%, 95%)
CMYKcmyk(0%, 12%, 61.8%, 5.5%)
CIE-LABlab(85.28, -3.51, 61.47)
CIE-LCHlch(85.28, 61.57, 93.27°)
OKLaboklab(87.2% -0.0141 0.1408)
OKLCHoklch(87.2% 0.141 95.7)
XYZxyz(61.7536, 66.5634, 19.7184)
Luminance0.6656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D45C #5C79F1
analogous
#F1895C #F1D45C #C4F15C
triadic
#F1D45C #5CF1D4 #D45CF1
tetradic
#F1D45C #5CF189 #5C79F1 #F15CC4
square
#F1D45C #5CF189 #5C79F1 #F15CC4
split-complementary
#F1D45C #5CC4F1 #895CF1
monochromatic
#C29F11 #ECC524 #F1D45C #F6E394 #FBF2CD

Accessibility & contrast

On white

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

On black

14.31
#F1D45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D45C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D45C#FFFFFF#000000##000000
##F1D45C1.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04F
Deuteranopia (green-blind)
#EFD962
Tritanopia (blue-blind)
#FFC5BA
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f1d45c;
/* rgb */ color: rgb(241, 212, 92);
/* oklch */ color: oklch(87.2% 0.141 95.7);
Tailwind
colors: {
  custom: {
    50: '#f9e08f',
    500: '#f1d45c',
    950: '#000000',
  },
}
SCSS
$custom: #f1d45c;
$custom-light: #f9e08f;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d45c",
  "rgb": {
    "r": 241,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 48.322,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87198,
    "c": 0.14147,
    "h": 95.7
  },
  "luminance": 0.6656
}

Semantic roles & 50–950 ramp

primary
#F1D45C
secondary
#324DC0
accent
#30E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F1D45C

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

Preview Lab → · Contrast checker → · Palette generator →

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