#F5CC56#F5CC56

#F5CC56 is a very light, vivid orange. Relative luminance 0.633; OKLCH L 85.9% C 0.142 H 89.8°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#F5CC56
RGBrgb(245, 204, 86)
HSLhsl(45, 89%, 65%)
HSVhsv(45, 65%, 96%)
CMYKcmyk(0%, 16.7%, 64.9%, 3.9%)
CIE-LABlab(83.59, 1.88, 62.33)
CIE-LCHlch(83.59, 62.36, 88.28°)
OKLaboklab(85.93% 0.0005 0.1416)
OKLCHoklch(85.93% 0.142 89.8)
XYZxyz(60.9319, 63.2736, 17.8059)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CC56 #567FF5
analogous
#F57C56 #F5CC56 #CFF556
triadic
#F5CC56 #56F5CC #CC56F5
tetradic
#F5CC56 #56F57C #567FF5 #F556CF
square
#F5CC56 #56F57C #567FF5 #F556CF
split-complementary
#F5CC56 #56CFF5 #7C56F5
monochromatic
#C5950C #F2BB1C #F5CC56 #F8DD90 #FCEFCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5CC56#FFFFFF#000000##000000
##F5CC561.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)
#E1CA48
Deuteranopia (green-blind)
#EBD55B
Tritanopia (blue-blind)
#FFBCB3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f5cc56;
/* rgb */ color: rgb(245, 204, 86);
/* oklch */ color: oklch(85.9% 0.142 89.8);
Tailwind
colors: {
  custom: {
    50: '#fcdb8b',
    500: '#f5cc56',
    950: '#000000',
  },
}
SCSS
$custom: #f5cc56;
$custom-light: #fcdb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cc56",
  "rgb": {
    "r": 245,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 44.528,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85927,
    "c": 0.14162,
    "h": 89.8
  },
  "luminance": 0.6327
}

Semantic roles & 50–950 ramp

primary
#F5CC56
secondary
#2D54C2
accent
#3BE500
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F5CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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