#F8CC71#F8CC71

#F8CC71 is a very light, vivid orange. Relative luminance 0.643; OKLCH L 86.5% C 0.120 H 84.0°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#F8CC71
RGBrgb(248, 204, 113)
HSLhsl(40, 91%, 71%)
HSVhsv(40, 54%, 97%)
CMYKcmyk(0%, 17.7%, 54.4%, 2.7%)
CIE-LABlab(84.14, 4.97, 50.67)
CIE-LCHlch(84.14, 50.92, 84.40°)
OKLaboklab(86.52% 0.0126 0.1197)
OKLCHoklch(86.52% 0.12 84)
XYZxyz(63.2877, 64.3380, 24.7046)
Luminance0.6433 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8CC71 #719DF8
analogous
#F88871 #F8CC71 #E1F871
triadic
#F8CC71 #71F8CC #CC71F8
tetradic
#F8CC71 #71F888 #719DF8 #F871E1
square
#F8CC71 #71F888 #719DF8 #F871E1
split-complementary
#F8CC71 #71E1F8 #8871F8
monochromatic
#E39D0B #F5B737 #F8CC71 #FBE1AB #FEF5E2

Accessibility & contrast

On white

1.51
#F8CC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#F8CC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8CC71
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8CC71#FFFFFF#000000##000000
##F8CC711.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB69
Deuteranopia (green-blind)
#EBD774
Tritanopia (blue-blind)
#FFBEB7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f8cc71;
/* rgb */ color: rgb(248, 204, 113);
/* oklch */ color: oklch(86.5% 0.120 84.0);
Tailwind
colors: {
  custom: {
    50: '#fddb9c',
    500: '#f8cc71',
    950: '#000000',
  },
}
SCSS
$custom: #f8cc71;
$custom-light: #fddb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8cc71",
  "rgb": {
    "r": 248,
    "g": 204,
    "b": 113
  },
  "hsl": {
    "h": 40.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86517,
    "c": 0.12039,
    "h": 84
  },
  "luminance": 0.64334
}

Semantic roles & 50–950 ramp

primary
#F8CC71
secondary
#3A6CD3
accent
#4BE600
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#18140E
muted
#86837F

Preview Lab

Preview with #F8CC71

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

Preview Lab → · Contrast checker → · Palette generator →

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