#F0CE66#F0CE66

#F0CE66 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 86.0% C 0.129 H 91.4°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#F0CE66
RGBrgb(240, 206, 102)
HSLhsl(45, 82%, 67%)
HSVhsv(45, 58%, 94%)
CMYKcmyk(0%, 14.2%, 57.5%, 5.9%)
CIE-LABlab(83.77, -0.17, 55.26)
CIE-LCHlch(83.77, 55.26, 90.18°)
OKLaboklab(86.02% -0.0032 0.1287)
OKLCHoklch(86.02% 0.129 91.4)
XYZxyz(60.4074, 63.6303, 21.6678)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE66 #6688F0
analogous
#F08966 #F0CE66 #CDF066
triadic
#F0CE66 #66F0CE #CE66F0
tetradic
#F0CE66 #66F089 #6688F0 #F066CD
square
#F0CE66 #66F089 #6688F0 #F066CD
split-complementary
#F0CE66 #66CDF0 #8966F0
monochromatic
#C89C14 #EBBC2E #F0CE66 #F5E09E #FBF2D5

Accessibility & contrast

On white

1.53
#F0CE66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#F0CE66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CE66
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CE66#FFFFFF#000000##000000
##F0CE661.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5C
Deuteranopia (green-blind)
#EAD56A
Tritanopia (blue-blind)
#FFC0B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0ce66;
/* rgb */ color: rgb(240, 206, 102);
/* oklch */ color: oklch(86.0% 0.129 91.4);
Tailwind
colors: {
  custom: {
    50: '#f8dc95',
    500: '#f0ce66',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce66;
$custom-light: #f8dc95;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce66",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 102
  },
  "hsl": {
    "h": 45.217,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86015,
    "c": 0.12876,
    "h": 91.4
  },
  "luminance": 0.63627
}

Semantic roles & 50–950 ramp

primary
#F0CE66
secondary
#3559C5
accent
#3CDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #F0CE66

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

Preview Lab → · Contrast checker → · Palette generator →

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