#F2CC5C#F2CC5C

#F2CC5C is a very light, vivid orange. Relative luminance 0.628; OKLCH L 85.7% C 0.136 H 90.5°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#F2CC5C
RGBrgb(242, 204, 92)
HSLhsl(45, 85%, 65%)
HSVhsv(45, 62%, 95%)
CMYKcmyk(0%, 15.7%, 62%, 5.1%)
CIE-LABlab(83.36, 1.00, 59.38)
CIE-LCHlch(83.36, 59.39, 89.04°)
OKLaboklab(85.7% -0.0011 0.1363)
OKLCHoklch(85.7% 0.136 90.5)
XYZxyz(60.1455, 62.8390, 19.0843)
Luminance0.6284 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CC5C #5C82F2
analogous
#F2815C #F2CC5C #CDF25C
triadic
#F2CC5C #5CF2CC #CC5CF2
tetradic
#F2CC5C #5CF281 #5C82F2 #F25CCD
square
#F2CC5C #5CF281 #5C82F2 #F25CCD
split-complementary
#F2CC5C #5CCDF2 #815CF2
monochromatic
#C49610 #EDBA23 #F2CC5C #F7DE95 #FBEFCD

Accessibility & contrast

On white

1.55
#F2CC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#F2CC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CC5C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CC5C#FFFFFF#000000##000000
##F2CC5C1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C950
Deuteranopia (green-blind)
#EAD461
Tritanopia (blue-blind)
#FFBDB4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cc5c;
/* rgb */ color: rgb(242, 204, 92);
/* oklch */ color: oklch(85.7% 0.136 90.5);
Tailwind
colors: {
  custom: {
    50: '#fadb8e',
    500: '#f2cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #f2cc5c;
$custom-light: #fadb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cc5c",
  "rgb": {
    "r": 242,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 44.8,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85699,
    "c": 0.13628,
    "h": 90.5
  },
  "luminance": 0.62836
}

Semantic roles & 50–950 ramp

primary
#F2CC5C
secondary
#3155C1
accent
#3CE204
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #F2CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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