#F0CE55#F0CE55

#F0CE55 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.8% C 0.143 H 93.4°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#F0CE55
RGBrgb(240, 206, 85)
HSLhsl(47, 84%, 64%)
HSVhsv(47, 65%, 94%)
CMYKcmyk(0%, 14.2%, 64.6%, 5.9%)
CIE-LABlab(83.61, -1.29, 62.65)
CIE-LCHlch(83.61, 62.66, 91.18°)
OKLaboklab(85.84% -0.0084 0.1423)
OKLCHoklch(85.84% 0.143 93.4)
XYZxyz(59.6491, 63.3269, 17.6740)
Luminance0.6332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE55 #5577F0
analogous
#F08055 #F0CE55 #C4F055
triadic
#F0CE55 #55F0CE #CE55F0
tetradic
#F0CE55 #55F080 #5577F0 #F055C4
square
#F0CE55 #55F080 #5577F0 #F055C4
split-complementary
#F0CE55 #55C4F0 #8055F0
monochromatic
#BA9510 #EBBE1D #F0CE55 #F5DE8D #FAEEC5

Accessibility & contrast

On white

1.54
#F0CE55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#F0CE55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CE55
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CE55#FFFFFF#000000##000000
##F0CE551.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB47
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#FFBFB4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0ce55;
/* rgb */ color: rgb(240, 206, 85);
/* oklch */ color: oklch(85.8% 0.143 93.4);
Tailwind
colors: {
  custom: {
    50: '#f9dc8a',
    500: '#f0ce55',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce55;
$custom-light: #f9dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce55",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 85
  },
  "hsl": {
    "h": 46.839,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85838,
    "c": 0.14254,
    "h": 93.4
  },
  "luminance": 0.63324
}

Semantic roles & 50–950 ramp

primary
#F0CE55
secondary
#304EB9
accent
#35E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0CE55

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

Preview Lab → · Contrast checker → · Palette generator →

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