#F2D551#F2D551

#F2D551 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.4% C 0.151 H 96.7°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#F2D551
RGBrgb(242, 213, 81)
HSLhsl(49, 86%, 63%)
HSVhsv(49, 67%, 95%)
CMYKcmyk(0%, 12%, 66.5%, 5.1%)
CIE-LABlab(85.54, -4.25, 66.39)
CIE-LCHlch(85.54, 66.53, 93.67°)
OKLaboklab(87.39% -0.0175 0.1495)
OKLCHoklch(87.39% 0.151 96.7)
XYZxyz(61.9003, 67.0629, 17.4669)
Luminance0.6706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2D551 #516EF2
analogous
#F28551 #F2D551 #BEF251
triadic
#F2D551 #51F2D5 #D551F2
tetradic
#F2D551 #51F285 #516EF2 #F251BE
square
#F2D551 #51F285 #516EF2 #F251BE
split-complementary
#F2D551 #51BEF2 #8551F2
monochromatic
#BB9C0E #EEC718 #F2D551 #F6E38A #FBF0C3

Accessibility & contrast

On white

1.46
#F2D551 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#F2D551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2D551
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2D551#FFFFFF#000000##000000
##F2D5511.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D040
Deuteranopia (green-blind)
#F1DA58
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #f2d551;
/* rgb */ color: rgb(242, 213, 81);
/* oklch */ color: oklch(87.4% 0.151 96.7);
Tailwind
colors: {
  custom: {
    50: '#fae188',
    500: '#f2d551',
    950: '#000000',
  },
}
SCSS
$custom: #f2d551;
$custom-light: #fae188;
$custom-dark: #000000;
JSON
{
  "hex": "#f2d551",
  "rgb": {
    "r": 242,
    "g": 213,
    "b": 81
  },
  "hsl": {
    "h": 49.193,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8739,
    "c": 0.15056,
    "h": 96.7
  },
  "luminance": 0.6706
}

Semantic roles & 50–950 ramp

primary
#F2D551
secondary
#2E47B9
accent
#2BE303
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F2D551

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

Preview Lab → · Contrast checker → · Palette generator →

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