#F0DE55#F0DE55

#F0DE55 is a very light, vivid yellow. Relative luminance 0.714; OKLCH L 89.1% C 0.155 H 101.8°. Best body text is #000000 at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#F0DE55
RGBrgb(240, 222, 85)
HSLhsl(53, 84%, 64%)
HSVhsv(53, 65%, 94%)
CMYKcmyk(0%, 7.5%, 64.6%, 5.9%)
CIE-LABlab(87.69, -9.39, 66.97)
CIE-LCHlch(87.69, 67.63, 97.98°)
OKLaboklab(89.07% -0.0316 0.1514)
OKLCHoklch(89.07% 0.155 101.8)
XYZxyz(63.6987, 71.4263, 19.0239)
Luminance0.7142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DE55 #5567F0
analogous
#F09055 #F0DE55 #B4F055
triadic
#F0DE55 #55F0DE #DE55F0
tetradic
#F0DE55 #55F090 #5567F0 #F055B4
square
#F0DE55 #55F090 #5567F0 #F055B4
split-complementary
#F0DE55 #55B4F0 #9055F0
monochromatic
#BAA610 #EBD31D #F0DE55 #F5E98D #FAF4C5

Accessibility & contrast

On white

1.37
#F0DE55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.28
#F0DE55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DE55
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DE55#FFFFFF#000000##000000
##F0DE551.001.3715.2815.28
#FFFFFF1.371.0021.0021.00
#00000015.2821.001.001.00
##00000015.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D844
Deuteranopia (green-blind)
#F7DF5D
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0de55;
/* rgb */ color: rgb(240, 222, 85);
/* oklch */ color: oklch(89.1% 0.155 101.8);
Tailwind
colors: {
  custom: {
    50: '#f8e88b',
    500: '#f0de55',
    950: '#000000',
  },
}
SCSS
$custom: #f0de55;
$custom-light: #f8e88b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0de55",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 85
  },
  "hsl": {
    "h": 53.032,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89068,
    "c": 0.15471,
    "h": 101.8
  },
  "luminance": 0.71424
}

Semantic roles & 50–950 ramp

primary
#F0DE55
secondary
#3040B9
accent
#1FE005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F0DE55

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

Preview Lab → · Contrast checker → · Palette generator →

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