#F0DA55#F0DA55

#F0DA55 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.3% C 0.151 H 99.9°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#F0DA55
RGBrgb(240, 218, 85)
HSLhsl(51, 84%, 64%)
HSVhsv(51, 65%, 94%)
CMYKcmyk(0%, 9.2%, 64.6%, 5.9%)
CIE-LABlab(86.67, -7.38, 65.89)
CIE-LCHlch(86.67, 66.30, 96.39°)
OKLaboklab(88.25% -0.0259 0.1492)
OKLCHoklch(88.25% 0.151 99.9)
XYZxyz(62.6489, 69.3267, 18.6740)
Luminance0.6932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DA55 #556BF0
analogous
#F08C55 #F0DA55 #B8F055
triadic
#F0DA55 #55F0DA #DA55F0
tetradic
#F0DA55 #55F08C #556BF0 #F055B8
square
#F0DA55 #55F08C #556BF0 #F055B8
split-complementary
#F0DA55 #55B8F0 #8C55F0
monochromatic
#BAA210 #EBCE1D #F0DA55 #F5E68D #FAF2C5

Accessibility & contrast

On white

1.41
#F0DA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#F0DA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DA55
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DA55#FFFFFF#000000##000000
##F0DA551.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED444
Deuteranopia (green-blind)
#F4DD5C
Tritanopia (blue-blind)
#FFCBBE
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f0da55;
/* rgb */ color: rgb(240, 218, 85);
/* oklch */ color: oklch(88.3% 0.151 99.9);
Tailwind
colors: {
  custom: {
    50: '#f8e58b',
    500: '#f0da55',
    950: '#000000',
  },
}
SCSS
$custom: #f0da55;
$custom-light: #f8e58b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0da55",
  "rgb": {
    "r": 240,
    "g": 218,
    "b": 85
  },
  "hsl": {
    "h": 51.484,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88254,
    "c": 0.15139,
    "h": 99.9
  },
  "luminance": 0.69324
}

Semantic roles & 50–950 ramp

primary
#F0DA55
secondary
#3044B9
accent
#24E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0DA55

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

Preview Lab → · Contrast checker → · Palette generator →

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