#F2CC50#F2CC50

#F2CC50 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.6% C 0.145 H 91.8°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#F2CC50
RGBrgb(242, 204, 80)
HSLhsl(46, 86%, 63%)
HSVhsv(46, 67%, 95%)
CMYKcmyk(0%, 15.7%, 66.9%, 5.1%)
CIE-LABlab(83.26, 0.29, 64.42)
CIE-LCHlch(83.26, 64.42, 89.75°)
OKLaboklab(85.59% -0.0046 0.1452)
OKLCHoklch(85.59% 0.145 91.8)
XYZxyz(59.6618, 62.6455, 16.5372)
Luminance0.6264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CC50 #5076F2
analogous
#F27B50 #F2CC50 #C7F250
triadic
#F2CC50 #50F2CC #CC50F2
tetradic
#F2CC50 #50F27B #5076F2 #F250C7
square
#F2CC50 #50F27B #5076F2 #F250C7
split-complementary
#F2CC50 #50C7F2 #7B50F2
monochromatic
#BA910E #EEBB17 #F2CC50 #F6DD89 #FAEDC2

Accessibility & contrast

On white

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

On black

13.53
#F2CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CC50
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CC50#FFFFFF#000000##000000
##F2CC501.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2cc50;
/* rgb */ color: rgb(242, 204, 80);
/* oklch */ color: oklch(85.6% 0.145 91.8);
Tailwind
colors: {
  custom: {
    50: '#fadb87',
    500: '#f2cc50',
    950: '#000000',
  },
}
SCSS
$custom: #f2cc50;
$custom-light: #fadb87;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cc50",
  "rgb": {
    "r": 242,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 45.926,
    "s": 86.17,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85585,
    "c": 0.14528,
    "h": 91.8
  },
  "luminance": 0.62642
}

Semantic roles & 50–950 ramp

primary
#F2CC50
secondary
#2E4EB9
accent
#37E303
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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