#F0DC55#F0DC55

#F0DC55 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.7% C 0.153 H 100.8°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#F0DC55
RGBrgb(240, 220, 85)
HSLhsl(52, 84%, 64%)
HSVhsv(52, 65%, 94%)
CMYKcmyk(0%, 8.3%, 64.6%, 5.9%)
CIE-LABlab(87.18, -8.39, 66.43)
CIE-LCHlch(87.18, 66.96, 97.20°)
OKLaboklab(88.66% -0.0288 0.1503)
OKLCHoklch(88.66% 0.153 100.8)
XYZxyz(63.1707, 70.3702, 18.8479)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DC55 #5569F0
analogous
#F08E55 #F0DC55 #B6F055
triadic
#F0DC55 #55F0DC #DC55F0
tetradic
#F0DC55 #55F08E #5569F0 #F055B6
square
#F0DC55 #55F08E #5569F0 #F055B6
split-complementary
#F0DC55 #55B6F0 #8E55F0
monochromatic
#BAA410 #EBD01D #F0DC55 #F5E88D #FAF3C5

Accessibility & contrast

On white

1.39
#F0DC55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#F0DC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DC55
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DC55#FFFFFF#000000##000000
##F0DC551.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D644
Deuteranopia (green-blind)
#F5DE5D
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #f0dc55;
/* rgb */ color: rgb(240, 220, 85);
/* oklch */ color: oklch(88.7% 0.153 100.8);
Tailwind
colors: {
  custom: {
    50: '#f8e68b',
    500: '#f0dc55',
    950: '#000000',
  },
}
SCSS
$custom: #f0dc55;
$custom-light: #f8e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dc55",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 85
  },
  "hsl": {
    "h": 52.258,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8866,
    "c": 0.15303,
    "h": 100.8
  },
  "luminance": 0.70368
}

Semantic roles & 50–950 ramp

primary
#F0DC55
secondary
#3042B9
accent
#22E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0DC55

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

Preview Lab → · Contrast checker → · Palette generator →

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