#F0CC80#F0CC80

#F0CC80 is a very light, moderate orange. Relative luminance 0.633; OKLCH L 86.0% C 0.103 H 85.0°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#F0CC80
RGBrgb(240, 204, 128)
HSLhsl(41, 79%, 72%)
HSVhsv(41, 47%, 94%)
CMYKcmyk(0%, 15%, 46.7%, 5.9%)
CIE-LABlab(83.59, 3.04, 42.44)
CIE-LCHlch(83.59, 42.55, 85.90°)
OKLaboklab(85.97% 0.009 0.1027)
OKLCHoklch(85.97% 0.103 85)
XYZxyz(61.4264, 63.2724, 29.3951)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC80 #80A4F0
analogous
#F09480 #F0CC80 #DCF080
triadic
#F0CC80 #80F0CC #CC80F0
tetradic
#F0CC80 #80F094 #80A4F0 #F080DC
square
#F0CC80 #80F094 #80A4F0 #F080DC
split-complementary
#F0CC80 #80DCF0 #9480F0
monochromatic
#DC9D1A #EAB649 #F0CC80 #F6E2B7 #FCF4E4

Accessibility & contrast

On white

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

On black

13.65
#F0CC80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC80
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC80#FFFFFF#000000##000000
##F0CC801.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB7A
Deuteranopia (green-blind)
#E6D482
Tritanopia (blue-blind)
#FFC0B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cc80;
/* rgb */ color: rgb(240, 204, 128);
/* oklch */ color: oklch(86.0% 0.103 85.0);
Tailwind
colors: {
  custom: {
    50: '#f7dba6',
    500: '#f0cc80',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc80;
$custom-light: #f7dba6;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc80",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 128
  },
  "hsl": {
    "h": 40.714,
    "s": 78.873,
    "l": 72.157
  },
  "oklch": {
    "l": 0.85969,
    "c": 0.1031,
    "h": 85
  },
  "luminance": 0.6327
}

Semantic roles & 50–950 ramp

primary
#F0CC80
secondary
#4A73CB
accent
#4DDB0A
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F0CC80

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

Preview Lab → · Contrast checker → · Palette generator →

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