#F0CC64#F0CC64

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

Color values

HEX#F0CC64
RGBrgb(240, 204, 100)
HSLhsl(45, 82%, 67%)
HSVhsv(45, 58%, 94%)
CMYKcmyk(0%, 15%, 58.3%, 5.9%)
CIE-LABlab(83.25, 0.72, 55.58)
CIE-LCHlch(83.25, 55.59, 89.26°)
OKLaboklab(85.6% -0.0009 0.1292)
OKLCHoklch(85.6% 0.129 90.4)
XYZxyz(59.8310, 62.6342, 20.9923)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC64 #6488F0
analogous
#F08664 #F0CC64 #CEF064
triadic
#F0CC64 #64F0CC #CC64F0
tetradic
#F0CC64 #64F086 #6488F0 #F064CE
square
#F0CC64 #64F086 #6488F0 #F064CE
split-complementary
#F0CC64 #64CEF0 #8664F0
monochromatic
#C69813 #EBBA2C #F0CC64 #F5DE9C #FBF1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0CC64#FFFFFF#000000##000000
##F0CC641.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)
#E0C95A
Deuteranopia (green-blind)
#E8D468
Tritanopia (blue-blind)
#FFBEB5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f0cc64;
/* rgb */ color: rgb(240, 204, 100);
/* oklch */ color: oklch(85.6% 0.129 90.4);
Tailwind
colors: {
  custom: {
    50: '#f8db93',
    500: '#f0cc64',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc64;
$custom-light: #f8db93;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc64",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 100
  },
  "hsl": {
    "h": 44.571,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.85595,
    "c": 0.12919,
    "h": 90.4
  },
  "luminance": 0.62631
}

Semantic roles & 50–950 ramp

primary
#F0CC64
secondary
#3559C4
accent
#3EDF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F0CC64

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

Preview Lab → · Contrast checker → · Palette generator →

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