#F1D158#F1D158

#F1D158 is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.6% C 0.142 H 94.4°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#F1D158
RGBrgb(241, 209, 88)
HSLhsl(47, 85%, 65%)
HSVhsv(47, 63%, 95%)
CMYKcmyk(0%, 13.3%, 63.5%, 5.5%)
CIE-LABlab(84.49, -2.23, 62.34)
CIE-LCHlch(84.49, 62.38, 92.05°)
OKLaboklab(86.56% -0.0109 0.142)
OKLCHoklch(86.56% 0.142 94.4)
XYZxyz(60.8404, 65.0094, 18.5741)
Luminance0.6501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D158 #5878F1
analogous
#F18558 #F1D158 #C5F158
triadic
#F1D158 #58F1D1 #D158F1
tetradic
#F1D158 #58F185 #5878F1 #F158C5
square
#F1D158 #58F185 #5878F1 #F158C5
split-complementary
#F1D158 #58C5F1 #8558F1
monochromatic
#BF9A10 #ECC120 #F1D158 #F6E190 #FAF0C9

Accessibility & contrast

On white

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

On black

14.00
#F1D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D158
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D158#FFFFFF#000000##000000
##F1D1581.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4A
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f1d158;
/* rgb */ color: rgb(241, 209, 88);
/* oklch */ color: oklch(86.6% 0.142 94.4);
Tailwind
colors: {
  custom: {
    50: '#f9de8c',
    500: '#f1d158',
    950: '#000000',
  },
}
SCSS
$custom: #f1d158;
$custom-light: #f9de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d158",
  "rgb": {
    "r": 241,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 47.451,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86559,
    "c": 0.14245,
    "h": 94.4
  },
  "luminance": 0.65006
}

Semantic roles & 50–950 ramp

primary
#F1D158
secondary
#304EBD
accent
#33E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F1D158

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

Preview Lab → · Contrast checker → · Palette generator →

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