#F0E561#F0E561

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

Color values

HEX#F0E561
RGBrgb(240, 229, 97)
HSLhsl(55, 83%, 66%)
HSVhsv(55, 60%, 94%)
CMYKcmyk(0%, 4.6%, 59.6%, 5.9%)
CIE-LABlab(89.59, -12.13, 64.02)
CIE-LCHlch(89.59, 65.16, 100.72°)
OKLaboklab(90.61% -0.0381 0.1469)
OKLCHoklch(90.61% 0.152 104.5)
XYZxyz(66.1145, 75.4293, 22.3836)
Luminance0.7543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E561 #616CF0
analogous
#F09D61 #F0E561 #B3F061
triadic
#F0E561 #61F0E5 #E561F0
tetradic
#F0E561 #61F09D #616CF0 #F061B3
square
#F0E561 #61F09D #616CF0 #F061B3
split-complementary
#F0E561 #61B3F0 #9D61F0
monochromatic
#C4B613 #EBDC29 #F0E561 #F5EE99 #FBF7D1

Accessibility & contrast

On white

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

On black

16.09
#F0E561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E561
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E561#FFFFFF#000000##000000
##F0E5611.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e561;
/* rgb */ color: rgb(240, 229, 97);
/* oklch */ color: oklch(90.6% 0.152 104.5);
Tailwind
colors: {
  custom: {
    50: '#f8ec93',
    500: '#f0e561',
    950: '#000000',
  },
}
SCSS
$custom: #f0e561;
$custom-light: #f8ec93;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e561",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 97
  },
  "hsl": {
    "h": 55.385,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.90611,
    "c": 0.15174,
    "h": 104.5
  },
  "luminance": 0.75427
}

Semantic roles & 50–950 ramp

primary
#F0E561
secondary
#343FC2
accent
#17DF06
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E561

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

Preview Lab → · Contrast checker → · Palette generator →

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