#F1D254#F1D254

#F1D254 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.7% C 0.146 H 95.3°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#F1D254
RGBrgb(241, 210, 84)
HSLhsl(48, 85%, 64%)
HSVhsv(48, 65%, 95%)
CMYKcmyk(0%, 12.9%, 65.1%, 5.5%)
CIE-LABlab(84.71, -2.98, 64.26)
CIE-LCHlch(84.71, 64.33, 92.65°)
OKLaboklab(86.72% -0.0135 0.1455)
OKLCHoklch(86.72% 0.146 95.3)
XYZxyz(60.9253, 65.4372, 17.8073)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D254 #5473F1
analogous
#F18354 #F1D254 #C1F154
triadic
#F1D254 #54F1D2 #D254F1
tetradic
#F1D254 #54F183 #5473F1 #F154C1
square
#F1D254 #54F183 #5473F1 #F154C1
split-complementary
#F1D254 #54C1F1 #8354F1
monochromatic
#BB990F #ECC31B #F1D254 #F6E18D #FAF0C5

Accessibility & contrast

On white

1.49
#F1D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#F1D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D254
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D254#FFFFFF#000000##000000
##F1D2541.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE45
Deuteranopia (green-blind)
#EED85A
Tritanopia (blue-blind)
#FFC3B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f1d254;
/* rgb */ color: rgb(241, 210, 84);
/* oklch */ color: oklch(86.7% 0.146 95.3);
Tailwind
colors: {
  custom: {
    50: '#f9df8a',
    500: '#f1d254',
    950: '#000000',
  },
}
SCSS
$custom: #f1d254;
$custom-light: #f9df8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d254",
  "rgb": {
    "r": 241,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 48.153,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86722,
    "c": 0.14615,
    "h": 95.3
  },
  "luminance": 0.65434
}

Semantic roles & 50–950 ramp

primary
#F1D254
secondary
#2F4BBA
accent
#30E104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F1D254

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

Preview Lab → · Contrast checker → · Palette generator →

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