#F0D560#F0D560

#F0D560 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.3% C 0.139 H 96.4°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#F0D560
RGBrgb(240, 213, 96)
HSLhsl(49, 83%, 66%)
HSVhsv(49, 60%, 94%)
CMYKcmyk(0%, 11.2%, 60%, 5.9%)
CIE-LABlab(85.48, -4.17, 59.91)
CIE-LCHlch(85.48, 60.06, 93.98°)
OKLaboklab(87.35% -0.0154 0.138)
OKLCHoklch(87.35% 0.139 96.4)
XYZxyz(61.8433, 66.9612, 20.7313)
Luminance0.6696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D560 #607BF0
analogous
#F08D60 #F0D560 #C3F060
triadic
#F0D560 #60F0D5 #D560F0
tetradic
#F0D560 #60F08D #607BF0 #F060C3
square
#F0D560 #60F08D #607BF0 #F060C3
split-complementary
#F0D560 #60C3F0 #8D60F0
monochromatic
#C3A212 #EBC628 #F0D560 #F5E498 #FBF3D0

Accessibility & contrast

On white

1.46
#F0D560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#F0D560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D560
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D560#FFFFFF#000000##000000
##F0D5601.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D154
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f0d560;
/* rgb */ color: rgb(240, 213, 96);
/* oklch */ color: oklch(87.3% 0.139 96.4);
Tailwind
colors: {
  custom: {
    50: '#f8e191',
    500: '#f0d560',
    950: '#000000',
  },
}
SCSS
$custom: #f0d560;
$custom-light: #f8e191;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d560",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 96
  },
  "hsl": {
    "h": 48.75,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.87348,
    "c": 0.13886,
    "h": 96.4
  },
  "luminance": 0.66958
}

Semantic roles & 50–950 ramp

primary
#F0D560
secondary
#334EC1
accent
#2FDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D560

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

Preview Lab → · Contrast checker → · Palette generator →

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