#F0D66C#F0D66C

#F0D66C is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.129 H 95.8°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#F0D66C
RGBrgb(240, 214, 108)
HSLhsl(48, 81%, 68%)
HSVhsv(48, 55%, 94%)
CMYKcmyk(0%, 10.8%, 55%, 5.9%)
CIE-LABlab(85.86, -3.81, 54.89)
CIE-LCHlch(85.86, 55.02, 93.97°)
OKLaboklab(87.68% -0.013 0.1286)
OKLCHoklch(87.68% 0.129 95.8)
XYZxyz(62.6909, 67.7039, 23.9504)
Luminance0.6770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D66C #6C86F0
analogous
#F0946C #F0D66C #C8F06C
triadic
#F0D66C #6CF0D6 #D66CF0
tetradic
#F0D66C #6CF094 #6C86F0 #F06CC8
square
#F0D66C #6CF094 #6C86F0 #F06CC8
split-complementary
#F0D66C #6CC8F0 #946CF0
monochromatic
#CDA915 #EAC734 #F0D66C #F6E5A4 #FBF5DB

Accessibility & contrast

On white

1.44
#F0D66C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#F0D66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D66C
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D66C#FFFFFF#000000##000000
##F0D66C1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D262
Deuteranopia (green-blind)
#EFDA71
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d66c;
/* rgb */ color: rgb(240, 214, 108);
/* oklch */ color: oklch(87.7% 0.129 95.8);
Tailwind
colors: {
  custom: {
    50: '#f8e299',
    500: '#f0d66c',
    950: '#000000',
  },
}
SCSS
$custom: #f0d66c;
$custom-light: #f8e299;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d66c",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 108
  },
  "hsl": {
    "h": 48.182,
    "s": 81.481,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87683,
    "c": 0.12923,
    "h": 95.8
  },
  "luminance": 0.67701
}

Semantic roles & 50–950 ramp

primary
#F0D66C
secondary
#3854C8
accent
#32DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D66C

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

Preview Lab → · Contrast checker → · Palette generator →

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