#F0E559#F0E559

#F0E559 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.5% C 0.158 H 104.8°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#F0E559
RGBrgb(240, 229, 89)
HSLhsl(56, 83%, 65%)
HSVhsv(56, 63%, 94%)
CMYKcmyk(0%, 4.6%, 62.9%, 5.9%)
CIE-LABlab(89.53, -12.63, 67.28)
CIE-LCHlch(89.53, 68.46, 100.63°)
OKLaboklab(90.54% -0.0404 0.1527)
OKLCHoklch(90.54% 0.158 104.8)
XYZxyz(65.7601, 75.2875, 20.5173)
Luminance0.7529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E559 #5964F0
analogous
#F09A59 #F0E559 #B0F059
triadic
#F0E559 #59F0E5 #E559F0
tetradic
#F0E559 #59F09A #5964F0 #F059B0
square
#F0E559 #59F09A #5964F0 #F059B0
split-complementary
#F0E559 #59B0F0 #9A59F0
monochromatic
#BDB111 #EBDC21 #F0E559 #F5EE91 #FAF7C9

Accessibility & contrast

On white

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

On black

16.06
#F0E559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E559
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E559#FFFFFF#000000##000000
##F0E5591.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD48
Deuteranopia (green-blind)
#FCE461
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f0e559;
/* rgb */ color: rgb(240, 229, 89);
/* oklch */ color: oklch(90.5% 0.158 104.8);
Tailwind
colors: {
  custom: {
    50: '#f8ec8e',
    500: '#f0e559',
    950: '#000000',
  },
}
SCSS
$custom: #f0e559;
$custom-light: #f8ec8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e559",
  "rgb": {
    "r": 240,
    "g": 229,
    "b": 89
  },
  "hsl": {
    "h": 55.629,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90537,
    "c": 0.15796,
    "h": 104.8
  },
  "luminance": 0.75285
}

Semantic roles & 50–950 ramp

primary
#F0E559
secondary
#313BBC
accent
#16E006
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F0E559

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

Preview Lab → · Contrast checker → · Palette generator →

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