#F2CE51#F2CE51

#F2CE51 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 86.0% C 0.146 H 92.9°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#F2CE51
RGBrgb(242, 206, 81)
HSLhsl(47, 86%, 63%)
HSVhsv(47, 67%, 95%)
CMYKcmyk(0%, 14.9%, 66.5%, 5.1%)
CIE-LABlab(83.77, -0.69, 64.54)
CIE-LCHlch(83.77, 64.55, 90.61°)
OKLaboklab(85.99% -0.0073 0.1456)
OKLCHoklch(85.99% 0.146 92.9)
XYZxyz(60.1775, 63.6173, 16.8927)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2CE51 #5175F2
analogous
#F27D51 #F2CE51 #C5F251
triadic
#F2CE51 #51F2CE #CE51F2
tetradic
#F2CE51 #51F27D #5175F2 #F251C5
square
#F2CE51 #51F27D #5175F2 #F251C5
split-complementary
#F2CE51 #51C5F2 #7D51F2
monochromatic
#BB940E #EEBE18 #F2CE51 #F6DE8A #FBEEC3

Accessibility & contrast

On white

1.53
#F2CE51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#F2CE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2CE51
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2CE51#FFFFFF#000000##000000
##F2CE511.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#ECD557
Tritanopia (blue-blind)
#FFBEB4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f2ce51;
/* rgb */ color: rgb(242, 206, 81);
/* oklch */ color: oklch(86.0% 0.146 92.9);
Tailwind
colors: {
  custom: {
    50: '#fadc88',
    500: '#f2ce51',
    950: '#000000',
  },
}
SCSS
$custom: #f2ce51;
$custom-light: #fadc88;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ce51",
  "rgb": {
    "r": 242,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 46.584,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85991,
    "c": 0.14581,
    "h": 92.9
  },
  "luminance": 0.63614
}

Semantic roles & 50–950 ramp

primary
#F2CE51
secondary
#2E4DB9
accent
#35E303
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2CE51

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

Preview Lab → · Contrast checker → · Palette generator →

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