#F2F651#F2F651

#F2F651 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.2% C 0.180 H 110.8°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#F2F651
RGBrgb(242, 246, 81)
HSLhsl(61, 90%, 64%)
HSVhsv(61, 67%, 96%)
CMYKcmyk(1.6%, 0%, 67.1%, 3.5%)
CIE-LABlab(94.05, -20.54, 75.07)
CIE-LCHlch(94.05, 77.83, 105.30°)
OKLaboklab(94.16% -0.0636 0.1679)
OKLCHoklch(94.16% 0.18 110.8)
XYZxyz(71.0612, 85.3847, 20.5206)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F651 #5551F6
analogous
#F6A851 #F2F651 #9FF651
triadic
#F2F651 #51F2F6 #F651F2
tetradic
#F2F651 #51F6A8 #5551F6 #F6519F
square
#F2F651 #51F6A8 #5551F6 #F6519F
split-complementary
#F2F651 #519FF6 #A851F6
monochromatic
#BEC30A #EEF317 #F2F651 #F6F98B #FBFCC5

Accessibility & contrast

On white

1.16
#F2F651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#F2F651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F651
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F651#FFFFFF#000000##000000
##F2F6511.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB37
Deuteranopia (green-blind)
#FFF05D
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f651;
/* rgb */ color: rgb(242, 246, 81);
/* oklch */ color: oklch(94.2% 0.180 110.8);
Tailwind
colors: {
  custom: {
    50: '#faf88b',
    500: '#f2f651',
    950: '#000000',
  },
}
SCSS
$custom: #f2f651;
$custom-light: #faf88b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f651",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 81
  },
  "hsl": {
    "h": 61.455,
    "s": 90.164,
    "l": 64.118
  },
  "oklch": {
    "l": 0.94163,
    "c": 0.17952,
    "h": 110.8
  },
  "luminance": 0.85383
}

Semantic roles & 50–950 ramp

primary
#F2F651
secondary
#2F2BC0
accent
#00E606
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F651

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

Preview Lab → · Contrast checker → · Palette generator →

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