#F0D559#F0D559

#F0D559 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.144 H 97.0°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#F0D559
RGBrgb(240, 213, 89)
HSLhsl(49, 83%, 65%)
HSVhsv(49, 63%, 94%)
CMYKcmyk(0%, 11.2%, 62.9%, 5.9%)
CIE-LABlab(85.42, -4.62, 62.89)
CIE-LCHlch(85.42, 63.06, 94.20°)
OKLaboklab(87.28% -0.0175 0.1434)
OKLCHoklch(87.28% 0.144 97)
XYZxyz(61.5353, 66.8380, 19.1090)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D559 #5974F0
analogous
#F08A59 #F0D559 #BFF059
triadic
#F0D559 #59F0D5 #D559F0
tetradic
#F0D559 #59F08A #5974F0 #F059BF
square
#F0D559 #59F08A #5974F0 #F059BF
split-complementary
#F0D559 #59BFF0 #8A59F0
monochromatic
#BD9F11 #EBC721 #F0D559 #F5E391 #FAF1C9

Accessibility & contrast

On white

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

On black

14.37
#F0D559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D559
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D559#FFFFFF#000000##000000
##F0D5591.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D04B
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #f0d559;
/* rgb */ color: rgb(240, 213, 89);
/* oklch */ color: oklch(87.3% 0.144 97.0);
Tailwind
colors: {
  custom: {
    50: '#f8e18d',
    500: '#f0d559',
    950: '#000000',
  },
}
SCSS
$custom: #f0d559;
$custom-light: #f8e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d559",
  "rgb": {
    "r": 240,
    "g": 213,
    "b": 89
  },
  "hsl": {
    "h": 49.272,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87279,
    "c": 0.14446,
    "h": 97
  },
  "luminance": 0.66835
}

Semantic roles & 50–950 ramp

primary
#F0D559
secondary
#314ABC
accent
#2DE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0D559

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

Preview Lab → · Contrast checker → · Palette generator →

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