#FFCC78#FFCC78

#FFCC78 is a very light, moderate orange. Relative luminance 0.658; OKLCH L 87.3% C 0.117 H 78.8°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#FFCC78
RGBrgb(255, 204, 120)
HSLhsl(37, 100%, 74%)
HSVhsv(37, 53%, 100%)
CMYKcmyk(0%, 20%, 52.9%, 0%)
CIE-LABlab(84.90, 8.37, 48.34)
CIE-LCHlch(84.90, 49.06, 80.18°)
OKLaboklab(87.29% 0.0229 0.1151)
OKLCHoklch(87.29% 0.117 78.8)
XYZxyz(66.2261, 65.8057, 26.9792)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFCC78 #78ABFF
analogous
#FF8878 #FFCC78 #EFFF78
triadic
#FFCC78 #78FFCC #CC78FF
tetradic
#FFCC78 #78FF88 #78ABFF #FF78EF
square
#FFCC78 #78FF88 #78ABFF #FF78EF
split-complementary
#FFCC78 #78EFFF #8878FF
monochromatic
#FD9D00 #FFB53B #FFCC78 #FFE3B5 #FFF3E0

Accessibility & contrast

On white

1.48
#FFCC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#FFCC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFCC78
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFCC78#FFFFFF#000000##000000
##FFCC781.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD71
Deuteranopia (green-blind)
#EDD97A
Tritanopia (blue-blind)
#FFBDB8
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ffcc78;
/* rgb */ color: rgb(255, 204, 120);
/* oklch */ color: oklch(87.3% 0.117 78.8);
Tailwind
colors: {
  custom: {
    50: '#ffdba0',
    500: '#ffcc78',
    950: '#000000',
  },
}
SCSS
$custom: #ffcc78;
$custom-light: #ffdba0;
$custom-dark: #000000;
JSON
{
  "hex": "#ffcc78",
  "rgb": {
    "r": 255,
    "g": 204,
    "b": 120
  },
  "hsl": {
    "h": 37.333,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.87293,
    "c": 0.11735,
    "h": 78.8
  },
  "luminance": 0.65802
}

Semantic roles & 50–950 ramp

primary
#FFCC78
secondary
#3E7ADD
accent
#57E600
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18150F
muted
#868480

Preview Lab

Preview with #FFCC78

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

Preview Lab → · Contrast checker → · Palette generator →

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