#F2D651#F2D651

#F2D651 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.6% C 0.151 H 97.2°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#F2D651
RGBrgb(242, 214, 81)
HSLhsl(50, 86%, 63%)
HSVhsv(50, 67%, 95%)
CMYKcmyk(0%, 11.6%, 66.5%, 5.1%)
CIE-LABlab(85.79, -4.76, 66.65)
CIE-LCHlch(85.79, 66.82, 94.09°)
OKLaboklab(87.59% -0.019 0.1501)
OKLCHoklch(87.59% 0.151 97.2)
XYZxyz(62.1526, 67.5675, 17.5510)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D651 #516DF2
analogous
#F28551 #F2D651 #BDF251
triadic
#F2D651 #51F2D6 #D651F2
tetradic
#F2D651 #51F285 #516DF2 #F251BD
square
#F2D651 #51F285 #516DF2 #F251BD
split-complementary
#F2D651 #51BDF2 #8551F2
monochromatic
#BB9D0E #EEC918 #F2D651 #F6E38A #FBF1C3

Accessibility & contrast

On white

1.45
#F2D651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#F2D651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D651
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D651#FFFFFF#000000##000000
##F2D6511.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD140
Deuteranopia (green-blind)
#F2DB58
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d651;
/* rgb */ color: rgb(242, 214, 81);
/* oklch */ color: oklch(87.6% 0.151 97.2);
Tailwind
colors: {
  custom: {
    50: '#fae288',
    500: '#f2d651',
    950: '#000000',
  },
}
SCSS
$custom: #f2d651;
$custom-light: #fae288;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d651",
  "rgb": {
    "r": 242,
    "g": 214,
    "b": 81
  },
  "hsl": {
    "h": 49.565,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87591,
    "c": 0.15129,
    "h": 97.2
  },
  "luminance": 0.67564
}

Semantic roles & 50–950 ramp

primary
#F2D651
secondary
#2E46B9
accent
#2AE303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D651

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

Preview Lab → · Contrast checker → · Palette generator →

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