#F2CC55#F2CC55

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

Color values

HEX#F2CC55
RGBrgb(242, 204, 85)
HSLhsl(45, 86%, 64%)
HSVhsv(45, 65%, 95%)
CMYKcmyk(0%, 15.7%, 64.9%, 5.1%)
CIE-LABlab(83.30, 0.57, 62.36)
CIE-LCHlch(83.30, 62.37, 89.48°)
OKLaboklab(85.63% -0.0032 0.1416)
OKLCHoklch(85.63% 0.142 91.3)
XYZxyz(59.8535, 62.7222, 17.5466)
Luminance0.6272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CC55 #557BF2
analogous
#F27E55 #F2CC55 #C9F255
triadic
#F2CC55 #55F2CC #CC55F2
tetradic
#F2CC55 #55F27E #557BF2 #F255C9
square
#F2CC55 #55F27E #557BF2 #F255C9
split-complementary
#F2CC55 #55C9F2 #7E55F2
monochromatic
#BE940F #EEBB1C #F2CC55 #F6DD8E #FBEEC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2CC55#FFFFFF#000000##000000
##F2CC551.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)
#E1C947
Deuteranopia (green-blind)
#EAD45B
Tritanopia (blue-blind)
#FFBCB3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f2cc55;
/* rgb */ color: rgb(242, 204, 85);
/* oklch */ color: oklch(85.6% 0.142 91.3);
Tailwind
colors: {
  custom: {
    50: '#fadb8a',
    500: '#f2cc55',
    950: '#000000',
  },
}
SCSS
$custom: #f2cc55;
$custom-light: #fadb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2cc55",
  "rgb": {
    "r": 242,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 45.478,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.8563,
    "c": 0.14167,
    "h": 91.3
  },
  "luminance": 0.62719
}

Semantic roles & 50–950 ramp

primary
#F2CC55
secondary
#2F51BC
accent
#39E203
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F2CC55

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

Preview Lab → · Contrast checker → · Palette generator →

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