#F8CC62#F8CC62

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

Color values

HEX#F8CC62
RGBrgb(248, 204, 98)
HSLhsl(42, 91%, 68%)
HSVhsv(42, 60%, 97%)
CMYKcmyk(0%, 17.7%, 60.5%, 2.7%)
CIE-LABlab(83.98, 3.87, 57.53)
CIE-LCHlch(83.98, 57.66, 86.15°)
OKLaboklab(86.34% 0.0076 0.133)
OKLCHoklch(86.34% 0.133 86.7)
XYZxyz(62.5120, 64.0277, 20.6189)
Luminance0.6402 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8CC62 #628EF8
analogous
#F88162 #F8CC62 #D9F862
triadic
#F8CC62 #62F8CC #CC62F8
tetradic
#F8CC62 #62F881 #628EF8 #F862D9
square
#F8CC62 #62F881 #628EF8 #F862D9
split-complementary
#F8CC62 #62D9F8 #8162F8
monochromatic
#D69A0A #F5B927 #F8CC62 #FBDF9D #FDF2D7

Accessibility & contrast

On white

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

On black

13.80
#F8CC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8CC62
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8CC62#FFFFFF#000000##000000
##F8CC621.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB57
Deuteranopia (green-blind)
#ECD666
Tritanopia (blue-blind)
#FFBDB4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f8cc62;
/* rgb */ color: rgb(248, 204, 98);
/* oklch */ color: oklch(86.3% 0.133 86.7);
Tailwind
colors: {
  custom: {
    50: '#fedb92',
    500: '#f8cc62',
    950: '#000000',
  },
}
SCSS
$custom: #f8cc62;
$custom-light: #fedb92;
$custom-dark: #000000;
JSON
{
  "hex": "#f8cc62",
  "rgb": {
    "r": 248,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 42.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86339,
    "c": 0.13316,
    "h": 86.7
  },
  "luminance": 0.64024
}

Semantic roles & 50–950 ramp

primary
#F8CC62
secondary
#2E5DD0
accent
#43E600
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F8CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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