#F0D660#F0D660

#F0D660 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.140 H 97.0°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#F0D660
RGBrgb(240, 214, 96)
HSLhsl(49, 83%, 66%)
HSVhsv(49, 60%, 94%)
CMYKcmyk(0%, 10.8%, 60%, 5.9%)
CIE-LABlab(85.74, -4.67, 60.20)
CIE-LCHlch(85.74, 60.38, 94.44°)
OKLaboklab(87.55% -0.0169 0.1386)
OKLCHoklch(87.55% 0.14 97)
XYZxyz(62.0956, 67.4658, 20.8154)
Luminance0.6746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D660 #607AF0
analogous
#F08E60 #F0D660 #C2F060
triadic
#F0D660 #60F0D6 #D660F0
tetradic
#F0D660 #60F08E #607AF0 #F060C2
square
#F0D660 #60F08E #607AF0 #F060C2
split-complementary
#F0D660 #60C2F0 #8E60F0
monochromatic
#C3A312 #EBC828 #F0D660 #F5E498 #FBF3D0

Accessibility & contrast

On white

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

On black

14.49
#F0D660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D660
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D660#FFFFFF#000000##000000
##F0D6601.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D153
Deuteranopia (green-blind)
#F0DA66
Tritanopia (blue-blind)
#FFC8BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d660;
/* rgb */ color: rgb(240, 214, 96);
/* oklch */ color: oklch(87.5% 0.140 97.0);
Tailwind
colors: {
  custom: {
    50: '#f8e291',
    500: '#f0d660',
    950: '#000000',
  },
}
SCSS
$custom: #f0d660;
$custom-light: #f8e291;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d660",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 96
  },
  "hsl": {
    "h": 49.167,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87549,
    "c": 0.13963,
    "h": 97
  },
  "luminance": 0.67463
}

Semantic roles & 50–950 ramp

primary
#F0D660
secondary
#334DC1
accent
#2DDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D660

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

Preview Lab → · Contrast checker → · Palette generator →

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