#F0D666#F0D666

#F0D666 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.6% C 0.135 H 96.4°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#F0D666
RGBrgb(240, 214, 102)
HSLhsl(49, 82%, 67%)
HSVhsv(49, 58%, 94%)
CMYKcmyk(0%, 10.8%, 57.5%, 5.9%)
CIE-LABlab(85.80, -4.26, 57.57)
CIE-LCHlch(85.80, 57.73, 94.23°)
OKLaboklab(87.61% -0.015 0.1337)
OKLCHoklch(87.61% 0.135 96.4)
XYZxyz(62.3825, 67.5805, 22.3262)
Luminance0.6758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D666 #6680F0
analogous
#F09166 #F0D666 #C5F066
triadic
#F0D666 #66F0D6 #D666F0
tetradic
#F0D666 #66F091 #6680F0 #F066C5
square
#F0D666 #66F091 #6680F0 #F066C5
split-complementary
#F0D666 #66C5F0 #9166F0
monochromatic
#C8A614 #EBC72E #F0D666 #F5E59E #FBF4D5

Accessibility & contrast

On white

1.45
#F0D666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#F0D666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D666
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D666#FFFFFF#000000##000000
##F0D6661.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#F0DA6B
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d666;
/* rgb */ color: rgb(240, 214, 102);
/* oklch */ color: oklch(87.6% 0.135 96.4);
Tailwind
colors: {
  custom: {
    50: '#f8e295',
    500: '#f0d666',
    950: '#000000',
  },
}
SCSS
$custom: #f0d666;
$custom-light: #f8e295;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d666",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 48.696,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87614,
    "c": 0.13455,
    "h": 96.4
  },
  "luminance": 0.67578
}

Semantic roles & 50–950 ramp

primary
#F0D666
secondary
#3550C5
accent
#30DF07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D666

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

Preview Lab → · Contrast checker → · Palette generator →

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