#F1D170#F1D170

#F1D170 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.8% C 0.122 H 91.5°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#F1D170
RGBrgb(241, 209, 112)
HSLhsl(45, 82%, 69%)
HSVhsv(45, 54%, 95%)
CMYKcmyk(0%, 13.3%, 53.5%, 5.5%)
CIE-LABlab(84.73, -0.53, 51.70)
CIE-LCHlch(84.73, 51.70, 90.59°)
OKLaboklab(86.83% -0.0031 0.122)
OKLCHoklch(86.83% 0.122 91.5)
XYZxyz(62.0031, 65.4745, 24.6980)
Luminance0.6547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D170 #7090F1
analogous
#F19170 #F1D170 #D1F170
triadic
#F1D170 #70F1D1 #D170F1
tetradic
#F1D170 #70F191 #7090F1 #F170D1
square
#F1D170 #70F191 #7090F1 #F170D1
split-complementary
#F1D170 #70D1F1 #9170F1
monochromatic
#D2A315 #ECBF38 #F1D170 #F6E3A8 #FCF5DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1D170#FFFFFF#000000##000000
##F1D1701.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)
#E3CE67
Deuteranopia (green-blind)
#ECD774
Tritanopia (blue-blind)
#FFC3BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f1d170;
/* rgb */ color: rgb(241, 209, 112);
/* oklch */ color: oklch(86.8% 0.122 91.5);
Tailwind
colors: {
  custom: {
    50: '#f8de9b',
    500: '#f1d170',
    950: '#000000',
  },
}
SCSS
$custom: #f1d170;
$custom-light: #f8de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d170",
  "rgb": {
    "r": 241,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 45.116,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86825,
    "c": 0.12204,
    "h": 91.5
  },
  "luminance": 0.65472
}

Semantic roles & 50–950 ramp

primary
#F1D170
secondary
#3B5FCA
accent
#3CDF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F1D170

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

Preview Lab → · Contrast checker → · Palette generator →

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