#F0E560#F0E560

#F0E560 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.6% C 0.153 H 104.6°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#F0E560
RGBrgb(240, 229, 96)
HSLhsl(55, 83%, 66%)
HSVhsv(55, 60%, 94%)
CMYKcmyk(0%, 4.6%, 60%, 5.9%)
CIE-LABlab(89.58, -12.19, 64.44)
CIE-LCHlch(89.58, 65.58, 100.71°)
OKLaboklab(90.6% -0.0384 0.1476)
OKLCHoklch(90.6% 0.153 104.6)
XYZxyz(66.0681, 75.4107, 22.1396)
Luminance0.7541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E560 #606BF0
analogous
#F09D60 #F0E560 #B3F060
triadic
#F0E560 #60F0E5 #E560F0
tetradic
#F0E560 #60F09D #606BF0 #F060B3
square
#F0E560 #60F09D #606BF0 #F060B3
split-complementary
#F0E560 #60B3F0 #9D60F0
monochromatic
#C3B612 #EBDC28 #F0E560 #F5EE98 #FBF7D0

Accessibility & contrast

On white

1.31
#F0E560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#F0E560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E560
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E560#FFFFFF#000000##000000
##F0E5601.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE51
Deuteranopia (green-blind)
#FBE467
Tritanopia (blue-blind)
#FFD7C9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e560;
/* rgb */ color: rgb(240, 229, 96);
/* oklch */ color: oklch(90.6% 0.153 104.6);
Tailwind
colors: {
  custom: {
    50: '#f8ec92',
    500: '#f0e560',
    950: '#000000',
  },
}
SCSS
$custom: #f0e560;
$custom-light: #f8ec92;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e560",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 96
  },
  "hsl": {
    "h": 55.417,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90602,
    "c": 0.15254,
    "h": 104.6
  },
  "luminance": 0.75408
}

Semantic roles & 50–950 ramp

primary
#F0E560
secondary
#333EC1
accent
#17DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E560

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

Preview Lab → · Contrast checker → · Palette generator →

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