#F0E660#F0E660

#F0E660 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.8% C 0.153 H 105.0°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F0E660
RGBrgb(240, 230, 96)
HSLhsl(56, 83%, 66%)
HSVhsv(56, 60%, 94%)
CMYKcmyk(0%, 4.2%, 60%, 5.9%)
CIE-LABlab(89.84, -12.69, 64.72)
CIE-LCHlch(89.84, 65.95, 101.09°)
OKLaboklab(90.81% -0.0398 0.1482)
OKLCHoklch(90.81% 0.153 105)
XYZxyz(66.3456, 75.9657, 22.2321)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E660 #606AF0
analogous
#F09E60 #F0E660 #B2F060
triadic
#F0E660 #60F0E6 #E660F0
tetradic
#F0E660 #60F09E #606AF0 #F060B2
square
#F0E660 #60F09E #606AF0 #F060B2
split-complementary
#F0E660 #60B2F0 #9E60F0
monochromatic
#C3B712 #EBDD28 #F0E660 #F5EF98 #FBF8D0

Accessibility & contrast

On white

1.30
#F0E660 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#F0E660 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E660
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E660#FFFFFF#000000##000000
##F0E6601.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE51
Deuteranopia (green-blind)
#FCE567
Tritanopia (blue-blind)
#FFD8C9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0e660;
/* rgb */ color: rgb(240, 230, 96);
/* oklch */ color: oklch(90.8% 0.153 105.0);
Tailwind
colors: {
  custom: {
    50: '#f8ed92',
    500: '#f0e660',
    950: '#000000',
  },
}
SCSS
$custom: #f0e660;
$custom-light: #f8ed92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e660",
  "rgb": {
    "r": 240,
    "g": 230,
    "b": 96
  },
  "hsl": {
    "h": 55.833,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90807,
    "c": 0.15348,
    "h": 105
  },
  "luminance": 0.75963
}

Semantic roles & 50–950 ramp

primary
#F0E660
secondary
#333DC1
accent
#15DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E660

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

Preview Lab → · Contrast checker → · Palette generator →

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