#F3CC52#F3CC52

#F3CC52 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.7% C 0.144 H 91.2°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#F3CC52
RGBrgb(243, 204, 82)
HSLhsl(45, 87%, 64%)
HSVhsv(45, 66%, 95%)
CMYKcmyk(0%, 16%, 66.3%, 4.7%)
CIE-LABlab(83.36, 0.81, 63.73)
CIE-LCHlch(83.36, 63.74, 89.27°)
OKLaboklab(85.7% -0.0029 0.144)
OKLCHoklch(85.7% 0.144 91.2)
XYZxyz(60.0811, 62.8531, 16.9483)
Luminance0.6285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3CC52 #5279F3
analogous
#F37B52 #F3CC52 #C9F352
triadic
#F3CC52 #52F3CC #CC52F3
tetradic
#F3CC52 #52F37B #5279F3 #F352C9
square
#F3CC52 #52F37B #5279F3 #F352C9
split-complementary
#F3CC52 #52C9F3 #7B52F3
monochromatic
#BD930D #EFBB19 #F3CC52 #F7DD8B #FBEEC4

Accessibility & contrast

On white

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

On black

13.57
#F3CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3CC52
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3CC52#FFFFFF#000000##000000
##F3CC521.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#EBD458
Tritanopia (blue-blind)
#FFBCB2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f3cc52;
/* rgb */ color: rgb(243, 204, 82);
/* oklch */ color: oklch(85.7% 0.144 91.2);
Tailwind
colors: {
  custom: {
    50: '#fbdb88',
    500: '#f3cc52',
    950: '#000000',
  },
}
SCSS
$custom: #f3cc52;
$custom-light: #fbdb88;
$custom-dark: #000000;
JSON
{
  "hex": "#f3cc52",
  "rgb": {
    "r": 243,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 45.466,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85699,
    "c": 0.14407,
    "h": 91.2
  },
  "luminance": 0.6285
}

Semantic roles & 50–950 ramp

primary
#F3CC52
secondary
#2E50BC
accent
#39E402
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #F3CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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