#F0CC55#F0CC55

#F0CC55 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.4% C 0.141 H 92.2°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#F0CC55
RGBrgb(240, 204, 85)
HSLhsl(46, 84%, 64%)
HSVhsv(46, 65%, 94%)
CMYKcmyk(0%, 15%, 64.6%, 5.9%)
CIE-LABlab(83.11, -0.27, 62.11)
CIE-LCHlch(83.11, 62.11, 90.24°)
OKLaboklab(85.44% -0.0055 0.1412)
OKLCHoklch(85.44% 0.141 92.2)
XYZxyz(59.1706, 62.3701, 17.5146)
Luminance0.6237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC55 #5579F0
analogous
#F07E55 #F0CC55 #C6F055
triadic
#F0CC55 #55F0CC #CC55F0
tetradic
#F0CC55 #55F07E #5579F0 #F055C6
square
#F0CC55 #55F07E #5579F0 #F055C6
split-complementary
#F0CC55 #55C6F0 #7E55F0
monochromatic
#BA9310 #EBBB1D #F0CC55 #F5DD8D #FAEEC5

Accessibility & contrast

On white

1.56
#F0CC55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#F0CC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC55
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC55#FFFFFF#000000##000000
##F0CC551.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C947
Deuteranopia (green-blind)
#EAD35B
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f0cc55;
/* rgb */ color: rgb(240, 204, 85);
/* oklch */ color: oklch(85.4% 0.141 92.2);
Tailwind
colors: {
  custom: {
    50: '#f9db8a',
    500: '#f0cc55',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc55;
$custom-light: #f9db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc55",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 46.065,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8544,
    "c": 0.14126,
    "h": 92.2
  },
  "luminance": 0.62367
}

Semantic roles & 50–950 ramp

primary
#F0CC55
secondary
#3050B9
accent
#38E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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