#F0D166#F0D166

#F0D166 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.6% C 0.131 H 93.4°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#F0D166
RGBrgb(240, 209, 102)
HSLhsl(47, 82%, 67%)
HSVhsv(47, 58%, 94%)
CMYKcmyk(0%, 12.9%, 57.5%, 5.9%)
CIE-LABlab(84.53, -1.71, 56.13)
CIE-LCHlch(84.53, 56.15, 91.74°)
OKLaboklab(86.61% -0.0076 0.1306)
OKLCHoklch(86.61% 0.131 93.4)
XYZxyz(61.1365, 65.0885, 21.9109)
Luminance0.6509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D166 #6685F0
analogous
#F08C66 #F0D166 #CAF066
triadic
#F0D166 #66F0D1 #D166F0
tetradic
#F0D166 #66F08C #6685F0 #F066CA
square
#F0D166 #66F08C #6685F0 #F066CA
split-complementary
#F0D166 #66CAF0 #8C66F0
monochromatic
#C89F14 #EBC02E #F0D166 #F5E29E #FBF3D5

Accessibility & contrast

On white

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

On black

14.02
#F0D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D166
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D166#FFFFFF#000000##000000
##F0D1661.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE5B
Deuteranopia (green-blind)
#ECD76B
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f0d166;
/* rgb */ color: rgb(240, 209, 102);
/* oklch */ color: oklch(86.6% 0.131 93.4);
Tailwind
colors: {
  custom: {
    50: '#f8de95',
    500: '#f0d166',
    950: '#000000',
  },
}
SCSS
$custom: #f0d166;
$custom-light: #f8de95;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d166",
  "rgb": {
    "r": 240,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 46.522,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86612,
    "c": 0.13082,
    "h": 93.4
  },
  "luminance": 0.65086
}

Semantic roles & 50–950 ramp

primary
#F0D166
secondary
#3555C5
accent
#37DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D166

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

Preview Lab → · Contrast checker → · Palette generator →

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