#F0CC53#F0CC53

#F0CC53 is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.4% C 0.143 H 92.4°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#F0CC53
RGBrgb(240, 204, 83)
HSLhsl(46, 84%, 63%)
HSVhsv(46, 65%, 94%)
CMYKcmyk(0%, 15%, 65.4%, 5.9%)
CIE-LABlab(83.09, -0.38, 62.94)
CIE-LCHlch(83.09, 62.94, 90.35°)
OKLaboklab(85.42% -0.0061 0.1426)
OKLCHoklch(85.42% 0.143 92.4)
XYZxyz(59.0923, 62.3388, 17.1020)
Luminance0.6234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CC53 #5377F0
analogous
#F07D53 #F0CC53 #C5F053
triadic
#F0CC53 #53F0CC #CC53F0
tetradic
#F0CC53 #53F07D #5377F0 #F053C5
square
#F0CC53 #53F07D #5377F0 #F053C5
split-complementary
#F0CC53 #53C5F0 #7D53F0
monochromatic
#B99210 #EBBB1B #F0CC53 #F5DD8B #FAEDC4

Accessibility & contrast

On white

1.56
#F0CC53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#F0CC53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CC53
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CC53#FFFFFF#000000##000000
##F0CC531.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0cc53;
/* rgb */ color: rgb(240, 204, 83);
/* oklch */ color: oklch(85.4% 0.143 92.4);
Tailwind
colors: {
  custom: {
    50: '#f9db89',
    500: '#f0cc53',
    950: '#000000',
  },
}
SCSS
$custom: #f0cc53;
$custom-light: #f9db89;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cc53",
  "rgb": {
    "r": 240,
    "g": 204,
    "b": 83
  },
  "hsl": {
    "h": 46.242,
    "s": 83.957,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85422,
    "c": 0.14274,
    "h": 92.4
  },
  "luminance": 0.62336
}

Semantic roles & 50–950 ramp

primary
#F0CC53
secondary
#304FB8
accent
#37E005
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F0CC53

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

Preview Lab → · Contrast checker → · Palette generator →

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