#F0DB55#F0DB55

#F0DB55 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.5% C 0.152 H 100.3°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#F0DB55
RGBrgb(240, 219, 85)
HSLhsl(52, 84%, 64%)
HSVhsv(52, 65%, 94%)
CMYKcmyk(0%, 8.8%, 64.6%, 5.9%)
CIE-LABlab(86.92, -7.89, 66.16)
CIE-LCHlch(86.92, 66.63, 96.80°)
OKLaboklab(88.46% -0.0273 0.1497)
OKLCHoklch(88.46% 0.152 100.3)
XYZxyz(62.9090, 69.8469, 18.7607)
Luminance0.6984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DB55 #556AF0
analogous
#F08D55 #F0DB55 #B7F055
triadic
#F0DB55 #55F0DB #DB55F0
tetradic
#F0DB55 #55F08D #556AF0 #F055B7
square
#F0DB55 #55F08D #556AF0 #F055B7
split-complementary
#F0DB55 #55B7F0 #8D55F0
monochromatic
#BAA310 #EBCF1D #F0DB55 #F5E78D #FAF3C5

Accessibility & contrast

On white

1.40
#F0DB55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#F0DB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DB55
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DB55#FFFFFF#000000##000000
##F0DB551.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD544
Deuteranopia (green-blind)
#F5DD5C
Tritanopia (blue-blind)
#FFCCBF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0db55;
/* rgb */ color: rgb(240, 219, 85);
/* oklch */ color: oklch(88.5% 0.152 100.3);
Tailwind
colors: {
  custom: {
    50: '#f8e58b',
    500: '#f0db55',
    950: '#000000',
  },
}
SCSS
$custom: #f0db55;
$custom-light: #f8e58b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0db55",
  "rgb": {
    "r": 240,
    "g": 219,
    "b": 85
  },
  "hsl": {
    "h": 51.871,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88457,
    "c": 0.15221,
    "h": 100.3
  },
  "luminance": 0.69844
}

Semantic roles & 50–950 ramp

primary
#F0DB55
secondary
#3043B9
accent
#23E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0DB55

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

Preview Lab → · Contrast checker → · Palette generator →

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