#F2CC5B#F2CC5B

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

Color values

HEX#F2CC5B
RGBrgb(242, 204, 91)
HSLhsl(45, 85%, 65%)
HSVhsv(45, 62%, 95%)
CMYKcmyk(0%, 15.7%, 62.4%, 5.1%)
CIE-LABlab(83.35, 0.94, 59.81)
CIE-LCHlch(83.35, 59.82, 89.10°)
OKLaboklab(85.69% -0.0014 0.1371)
OKLCHoklch(85.69% 0.137 90.6)
XYZxyz(60.1021, 62.8216, 18.8556)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CC5B #5B81F2
analogous
#F2815B #F2CC5B #CCF25B
triadic
#F2CC5B #5BF2CC #CC5BF2
tetradic
#F2CC5B #5BF281 #5B81F2 #F25BCC
square
#F2CC5B #5BF281 #5B81F2 #F25BCC
split-complementary
#F2CC5B #5BCCF2 #815BF2
monochromatic
#C3960F #EEBA22 #F2CC5B #F6DE94 #FBEFCC

Accessibility & contrast

On white

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

On black

13.56
#F2CC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CC5B
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CC5B#FFFFFF#000000##000000
##F2CC5B1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C94F
Deuteranopia (green-blind)
#EAD460
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f2cc5b;
/* rgb */ color: rgb(242, 204, 91);
/* oklch */ color: oklch(85.7% 0.137 90.6);
Tailwind
colors: {
  custom: {
    50: '#fadb8e',
    500: '#f2cc5b',
    950: '#000000',
  },
}
SCSS
$custom: #f2cc5b;
$custom-light: #fadb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cc5b",
  "rgb": {
    "r": 242,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 44.901,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85688,
    "c": 0.13708,
    "h": 90.6
  },
  "luminance": 0.62818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2CC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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