#F2CC53#F2CC53

#F2CC53 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.6% C 0.143 H 91.5°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#F2CC53
RGBrgb(242, 204, 83)
HSLhsl(46, 86%, 64%)
HSVhsv(46, 66%, 95%)
CMYKcmyk(0%, 15.7%, 65.7%, 5.1%)
CIE-LABlab(83.28, 0.45, 63.19)
CIE-LCHlch(83.28, 63.20, 89.59°)
OKLaboklab(85.61% -0.0038 0.1431)
OKLCHoklch(85.61% 0.143 91.5)
XYZxyz(59.7752, 62.6909, 17.1340)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CC53 #5379F2
analogous
#F27C53 #F2CC53 #C9F253
triadic
#F2CC53 #53F2CC #CC53F2
tetradic
#F2CC53 #53F27C #5379F2 #F253C9
square
#F2CC53 #53F27C #5379F2 #F253C9
split-complementary
#F2CC53 #53C9F2 #7C53F2
monochromatic
#BC930E #EEBB1A #F2CC53 #F6DD8C #FBEEC5

Accessibility & contrast

On white

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

On black

13.54
#F2CC53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CC53
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CC53#FFFFFF#000000##000000
##F2CC531.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C944
Deuteranopia (green-blind)
#EAD459
Tritanopia (blue-blind)
#FFBCB2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f2cc53;
/* rgb */ color: rgb(242, 204, 83);
/* oklch */ color: oklch(85.6% 0.143 91.5);
Tailwind
colors: {
  custom: {
    50: '#fadb89',
    500: '#f2cc53',
    950: '#000000',
  },
}
SCSS
$custom: #f2cc53;
$custom-light: #fadb89;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cc53",
  "rgb": {
    "r": 242,
    "g": 204,
    "b": 83
  },
  "hsl": {
    "h": 45.66,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85612,
    "c": 0.14314,
    "h": 91.5
  },
  "luminance": 0.62688
}

Semantic roles & 50–950 ramp

primary
#F2CC53
secondary
#2E50BB
accent
#38E203
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2CC53

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

Preview Lab → · Contrast checker → · Palette generator →

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