#F8CC5C#F8CC5C

#F8CC5C is a very light, vivid orange. Relative luminance 0.639; OKLCH L 86.3% C 0.138 H 87.6°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#F8CC5C
RGBrgb(248, 204, 92)
HSLhsl(43, 92%, 67%)
HSVhsv(43, 63%, 97%)
CMYKcmyk(0%, 17.7%, 62.9%, 2.7%)
CIE-LABlab(83.92, 3.48, 60.16)
CIE-LCHlch(83.92, 60.26, 86.69°)
OKLaboklab(86.28% 0.0057 0.1378)
OKLCHoklch(86.28% 0.138 87.6)
XYZxyz(62.2392, 63.9186, 19.1824)
Luminance0.6391 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8CC5C #5C88F8
analogous
#F87E5C #F8CC5C #D6F85C
triadic
#F8CC5C #5CF8CC #CC5CF8
tetradic
#F8CC5C #5CF87E #5C88F8 #F85CD6
square
#F8CC5C #5CF87E #5C88F8 #F85CD6
split-complementary
#F8CC5C #5CD6F8 #7E5CF8
monochromatic
#D19809 #F5BA21 #F8CC5C #FBDE97 #FDF1D1

Accessibility & contrast

On white

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

On black

13.78
#F8CC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8CC5C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8CC5C#FFFFFF#000000##000000
##F8CC5C1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA50
Deuteranopia (green-blind)
#ECD661
Tritanopia (blue-blind)
#FFBCB4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f8cc5c;
/* rgb */ color: rgb(248, 204, 92);
/* oklch */ color: oklch(86.3% 0.138 87.6);
Tailwind
colors: {
  custom: {
    50: '#fedb8e',
    500: '#f8cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #f8cc5c;
$custom-light: #fedb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8cc5c",
  "rgb": {
    "r": 248,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 43.077,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.86276,
    "c": 0.13791,
    "h": 87.6
  },
  "luminance": 0.63915
}

Semantic roles & 50–950 ramp

primary
#F8CC5C
secondary
#2C59CC
accent
#41E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F8CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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