#F0D561#F0D561

#F0D561 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.4% C 0.138 H 96.3°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#F0D561
RGBrgb(240, 213, 97)
HSLhsl(49, 83%, 66%)
HSVhsv(49, 60%, 94%)
CMYKcmyk(0%, 11.2%, 59.6%, 5.9%)
CIE-LABlab(85.49, -4.10, 59.48)
CIE-LCHlch(85.49, 59.62, 93.94°)
OKLaboklab(87.36% -0.0151 0.1372)
OKLCHoklch(87.36% 0.138 96.3)
XYZxyz(61.8897, 66.9797, 20.9754)
Luminance0.6698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D561 #617CF0
analogous
#F08D61 #F0D561 #C4F061
triadic
#F0D561 #61F0D5 #D561F0
tetradic
#F0D561 #61F08D #617CF0 #F061C4
square
#F0D561 #61F08D #617CF0 #F061C4
split-complementary
#F0D561 #61C4F0 #8D61F0
monochromatic
#C4A213 #EBC629 #F0D561 #F5E499 #FBF3D1

Accessibility & contrast

On white

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

On black

14.40
#F0D561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D561
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D561#FFFFFF#000000##000000
##F0D5611.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0d561;
/* rgb */ color: rgb(240, 213, 97);
/* oklch */ color: oklch(87.4% 0.138 96.3);
Tailwind
colors: {
  custom: {
    50: '#f8e192',
    500: '#f0d561',
    950: '#000000',
  },
}
SCSS
$custom: #f0d561;
$custom-light: #f8e192;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d561",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 97
  },
  "hsl": {
    "h": 48.671,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87359,
    "c": 0.13803,
    "h": 96.3
  },
  "luminance": 0.66977
}

Semantic roles & 50–950 ramp

primary
#F0D561
secondary
#344EC2
accent
#2FDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0D561

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

Preview Lab → · Contrast checker → · Palette generator →

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