#F8CC5F#F8CC5F

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

Color values

HEX#F8CC5F
RGBrgb(248, 204, 95)
HSLhsl(43, 92%, 67%)
HSVhsv(43, 62%, 97%)
CMYKcmyk(0%, 17.7%, 61.7%, 2.7%)
CIE-LABlab(83.95, 3.68, 58.86)
CIE-LCHlch(83.95, 58.97, 86.43°)
OKLaboklab(86.31% 0.0066 0.1354)
OKLCHoklch(86.31% 0.136 87.2)
XYZxyz(62.3730, 63.9721, 19.8868)
Luminance0.6397 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8CC5F #5F8BF8
analogous
#F8805F #F8CC5F #D8F85F
triadic
#F8CC5F #5FF8CC #CC5FF8
tetradic
#F8CC5F #5FF880 #5F8BF8 #F85FD8
square
#F8CC5F #5FF880 #5F8BF8 #F85FD8
split-complementary
#F8CC5F #5FD8F8 #805FF8
monochromatic
#D39909 #F5B924 #F8CC5F #FBDF9A #FDF1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8CC5F#FFFFFF#000000##000000
##F8CC5F1.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)
#E1CA54
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#FFBCB4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f8cc5f;
/* rgb */ color: rgb(248, 204, 95);
/* oklch */ color: oklch(86.3% 0.136 87.2);
Tailwind
colors: {
  custom: {
    50: '#fedb90',
    500: '#f8cc5f',
    950: '#000000',
  },
}
SCSS
$custom: #f8cc5f;
$custom-light: #fedb90;
$custom-dark: #000000;
JSON
{
  "hex": "#f8cc5f",
  "rgb": {
    "r": 248,
    "g": 204,
    "b": 95
  },
  "hsl": {
    "h": 42.745,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86306,
    "c": 0.13557,
    "h": 87.2
  },
  "luminance": 0.63968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8CC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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