#F0CC78#F0CC78

#F0CC78 is a very light, moderate orange. Relative luminance 0.631; OKLCH L 85.9% C 0.111 H 86.9°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#F0CC78
RGBrgb(240, 204, 120)
HSLhsl(42, 80%, 71%)
HSVhsv(42, 50%, 94%)
CMYKcmyk(0%, 15%, 50%, 5.9%)
CIE-LABlab(83.48, 2.31, 46.28)
CIE-LCHlch(83.48, 46.34, 87.14°)
OKLaboklab(85.85% 0.0061 0.1108)
OKLCHoklch(85.85% 0.111 86.9)
XYZxyz(60.9205, 63.0701, 26.7305)
Luminance0.6307 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC78 #789CF0
analogous
#F09078 #F0CC78 #D8F078
triadic
#F0CC78 #78F0CC #CC78F0
tetradic
#F0CC78 #78F090 #789CF0 #F078D8
square
#F0CC78 #78F090 #789CF0 #F078D8
split-complementary
#F0CC78 #78D8F0 #9078F0
monochromatic
#D69D18 #EAB741 #F0CC78 #F6E1AF #FCF5E3

Accessibility & contrast

On white

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

On black

13.61
#F0CC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC78
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC78#FFFFFF#000000##000000
##F0CC781.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA71
Deuteranopia (green-blind)
#E7D47B
Tritanopia (blue-blind)
#FFBFB8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f0cc78;
/* rgb */ color: rgb(240, 204, 120);
/* oklch */ color: oklch(85.9% 0.111 86.9);
Tailwind
colors: {
  custom: {
    50: '#f7dba0',
    500: '#f0cc78',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc78;
$custom-light: #f7dba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc78",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 120
  },
  "hsl": {
    "h": 42,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.8585,
    "c": 0.11094,
    "h": 86.9
  },
  "luminance": 0.63067
}

Semantic roles & 50–950 ramp

primary
#F0CC78
secondary
#426BCA
accent
#49DC09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380

Preview Lab

Preview with #F0CC78

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

Preview Lab → · Contrast checker → · Palette generator →

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