#F0CC66#F0CC66

#F0CC66 is a very light, vivid orange. Relative luminance 0.627; OKLCH L 85.6% C 0.127 H 90.1°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#F0CC66
RGBrgb(240, 204, 102)
HSLhsl(44, 82%, 67%)
HSVhsv(44, 58%, 94%)
CMYKcmyk(0%, 15%, 57.5%, 5.9%)
CIE-LABlab(83.27, 0.86, 54.68)
CIE-LCHlch(83.27, 54.68, 89.10°)
OKLaboklab(85.62% -0.0002 0.1275)
OKLCHoklch(85.62% 0.127 90.1)
XYZxyz(59.9290, 62.6734, 21.5084)
Luminance0.6267 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC66 #668AF0
analogous
#F08766 #F0CC66 #CFF066
triadic
#F0CC66 #66F0CC #CC66F0
tetradic
#F0CC66 #66F087 #668AF0 #F066CF
square
#F0CC66 #66F087 #668AF0 #F066CF
split-complementary
#F0CC66 #66CFF0 #8766F0
monochromatic
#C89914 #EBB92E #F0CC66 #F5DF9E #FBF1D5

Accessibility & contrast

On white

1.55
#F0CC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#F0CC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC66
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC66#FFFFFF#000000##000000
##F0CC661.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA5C
Deuteranopia (green-blind)
#E8D46A
Tritanopia (blue-blind)
#FFBEB5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f0cc66;
/* rgb */ color: rgb(240, 204, 102);
/* oklch */ color: oklch(85.6% 0.127 90.1);
Tailwind
colors: {
  custom: {
    50: '#f8db94',
    500: '#f0cc66',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc66;
$custom-light: #f8db94;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc66",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 44.348,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85618,
    "c": 0.12747,
    "h": 90.1
  },
  "luminance": 0.6267
}

Semantic roles & 50–950 ramp

primary
#F0CC66
secondary
#355BC5
accent
#3FDF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0CC66

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

Preview Lab → · Contrast checker → · Palette generator →

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