#F0DD55#F0DD55

#F0DD55 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.154 H 101.3°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#F0DD55
RGBrgb(240, 221, 85)
HSLhsl(53, 84%, 64%)
HSVhsv(53, 65%, 94%)
CMYKcmyk(0%, 7.9%, 64.6%, 5.9%)
CIE-LABlab(87.43, -8.89, 66.70)
CIE-LCHlch(87.43, 67.29, 97.59°)
OKLaboklab(88.86% -0.0302 0.1509)
OKLCHoklch(88.86% 0.154 101.3)
XYZxyz(63.4339, 70.8967, 18.9357)
Luminance0.7089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DD55 #5568F0
analogous
#F08F55 #F0DD55 #B5F055
triadic
#F0DD55 #55F0DD #DD55F0
tetradic
#F0DD55 #55F08F #5568F0 #F055B5
square
#F0DD55 #55F08F #5568F0 #F055B5
split-complementary
#F0DD55 #55B5F0 #8F55F0
monochromatic
#BAA510 #EBD21D #F0DD55 #F5E88D #FAF3C5

Accessibility & contrast

On white

1.38
#F0DD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#F0DD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DD55
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DD55#FFFFFF#000000##000000
##F0DD551.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D744
Deuteranopia (green-blind)
#F6DF5D
Tritanopia (blue-blind)
#FFCEC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f0dd55;
/* rgb */ color: rgb(240, 221, 85);
/* oklch */ color: oklch(88.9% 0.154 101.3);
Tailwind
colors: {
  custom: {
    50: '#f8e78b',
    500: '#f0dd55',
    950: '#000000',
  },
}
SCSS
$custom: #f0dd55;
$custom-light: #f8e78b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dd55",
  "rgb": {
    "r": 240,
    "g": 221,
    "b": 85
  },
  "hsl": {
    "h": 52.645,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88864,
    "c": 0.15386,
    "h": 101.3
  },
  "luminance": 0.70894
}

Semantic roles & 50–950 ramp

primary
#F0DD55
secondary
#3041B9
accent
#20E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0DD55

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

Preview Lab → · Contrast checker → · Palette generator →

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