#F5CC78#F5CC78

#F5CC78 is a very light, moderate orange. Relative luminance 0.640; OKLCH L 86.3% C 0.113 H 84.1°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#F5CC78
RGBrgb(245, 204, 120)
HSLhsl(40, 86%, 72%)
HSVhsv(40, 51%, 96%)
CMYKcmyk(0%, 16.7%, 51%, 3.9%)
CIE-LABlab(83.94, 4.33, 46.96)
CIE-LCHlch(83.94, 47.16, 84.73°)
OKLaboklab(86.32% 0.0117 0.1122)
OKLCHoklch(86.32% 0.113 84.1)
XYZxyz(62.6418, 63.9576, 26.8112)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CC78 #78A1F5
analogous
#F58E78 #F5CC78 #E0F578
triadic
#F5CC78 #78F5CC #CC78F5
tetradic
#F5CC78 #78F58E #78A1F5 #F578E0
square
#F5CC78 #78F58E #78A1F5 #F578E0
split-complementary
#F5CC78 #78E0F5 #8E78F5
monochromatic
#E29D11 #F1B63F #F5CC78 #F9E2B1 #FDF4E3

Accessibility & contrast

On white

1.52
#F5CC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#F5CC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CC78
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CC78#FFFFFF#000000##000000
##F5CC781.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB71
Deuteranopia (green-blind)
#E9D67B
Tritanopia (blue-blind)
#FFBFB8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f5cc78;
/* rgb */ color: rgb(245, 204, 120);
/* oklch */ color: oklch(86.3% 0.113 84.1);
Tailwind
colors: {
  custom: {
    50: '#fbdba0',
    500: '#f5cc78',
    950: '#000000',
  },
}
SCSS
$custom: #f5cc78;
$custom-light: #fbdba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cc78",
  "rgb": {
    "r": 245,
    "g": 204,
    "b": 120
  },
  "hsl": {
    "h": 40.32,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.86324,
    "c": 0.1128,
    "h": 84.1
  },
  "luminance": 0.63954
}

Semantic roles & 50–950 ramp

primary
#F5CC78
secondary
#4170D0
accent
#4CE303
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140F
muted
#868380

Preview Lab

Preview with #F5CC78

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

Preview Lab → · Contrast checker → · Palette generator →

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