#F0CE56#F0CE56

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

Color values

HEX#F0CE56
RGBrgb(240, 206, 86)
HSLhsl(47, 84%, 64%)
HSVhsv(47, 64%, 94%)
CMYKcmyk(0%, 14.2%, 64.2%, 5.9%)
CIE-LABlab(83.62, -1.23, 62.23)
CIE-LCHlch(83.62, 62.24, 91.13°)
OKLaboklab(85.85% -0.0082 0.1416)
OKLCHoklch(85.85% 0.142 93.3)
XYZxyz(59.6891, 63.3429, 17.8847)
Luminance0.6334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE56 #5678F0
analogous
#F08156 #F0CE56 #C5F056
triadic
#F0CE56 #56F0CE #CE56F0
tetradic
#F0CE56 #56F081 #5678F0 #F056C5
square
#F0CE56 #56F081 #5678F0 #F056C5
split-complementary
#F0CE56 #56C5F0 #8156F0
monochromatic
#BB9511 #EBBE1E #F0CE56 #F5DE8E #FAEFC6

Accessibility & contrast

On white

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

On black

13.67
#F0CE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CE56
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CE56#FFFFFF#000000##000000
##F0CE561.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0ce56;
/* rgb */ color: rgb(240, 206, 86);
/* oklch */ color: oklch(85.8% 0.142 93.3);
Tailwind
colors: {
  custom: {
    50: '#f8dc8b',
    500: '#f0ce56',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce56;
$custom-light: #f8dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce56",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 86
  },
  "hsl": {
    "h": 46.753,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85848,
    "c": 0.14179,
    "h": 93.3
  },
  "luminance": 0.6334
}

Semantic roles & 50–950 ramp

primary
#F0CE56
secondary
#304FBA
accent
#36E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F0CE56

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

Preview Lab → · Contrast checker → · Palette generator →

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