#F8CC5E#F8CC5E

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

Color values

HEX#F8CC5E
RGBrgb(248, 204, 94)
HSLhsl(43, 92%, 67%)
HSVhsv(43, 62%, 97%)
CMYKcmyk(0%, 17.7%, 62.1%, 2.7%)
CIE-LABlab(83.94, 3.61, 59.29)
CIE-LCHlch(83.94, 59.40, 86.51°)
OKLaboklab(86.3% 0.0063 0.1362)
OKLCHoklch(86.3% 0.136 87.4)
XYZxyz(62.3278, 63.9540, 19.6490)
Luminance0.6395 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8CC5E #5E8AF8
analogous
#F87F5E #F8CC5E #D7F85E
triadic
#F8CC5E #5EF8CC #CC5EF8
tetradic
#F8CC5E #5EF87F #5E8AF8 #F85ED7
square
#F8CC5E #5EF87F #5E8AF8 #F85ED7
split-complementary
#F8CC5E #5ED7F8 #7F5EF8
monochromatic
#D29909 #F5B923 #F8CC5E #FBDF99 #FDF1D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8CC5E#FFFFFF#000000##000000
##F8CC5E1.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)
#E1CA52
Deuteranopia (green-blind)
#ECD662
Tritanopia (blue-blind)
#FFBCB4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f8cc5e;
/* rgb */ color: rgb(248, 204, 94);
/* oklch */ color: oklch(86.3% 0.136 87.4);
Tailwind
colors: {
  custom: {
    50: '#fedb8f',
    500: '#f8cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #f8cc5e;
$custom-light: #fedb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8cc5e",
  "rgb": {
    "r": 248,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 42.857,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86296,
    "c": 0.13636,
    "h": 87.4
  },
  "luminance": 0.6395
}

Semantic roles & 50–950 ramp

primary
#F8CC5E
secondary
#2D5BCD
accent
#42E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F8CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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