#F2F652#F2F652

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

Color values

HEX#F2F652
RGBrgb(242, 246, 82)
HSLhsl(61, 90%, 64%)
HSVhsv(61, 67%, 96%)
CMYKcmyk(1.6%, 0%, 66.7%, 3.5%)
CIE-LABlab(94.06, -20.49, 74.71)
CIE-LCHlch(94.06, 77.47, 105.34°)
OKLaboklab(94.17% -0.0634 0.1673)
OKLCHoklch(94.17% 0.179 110.8)
XYZxyz(71.0990, 85.3998, 20.7195)
Luminance0.8540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F652 #5652F6
analogous
#F6A852 #F2F652 #A0F652
triadic
#F2F652 #52F2F6 #F652F2
tetradic
#F2F652 #52F6A8 #5652F6 #F652A0
square
#F2F652 #52F6A8 #5652F6 #F652A0
split-complementary
#F2F652 #52A0F6 #A852F6
monochromatic
#BFC30A #EEF318 #F2F652 #F6F98C #FBFCC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F652#FFFFFF#000000##000000
##F2F6521.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)
#FFEB39
Deuteranopia (green-blind)
#FFF05E
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f652;
/* rgb */ color: rgb(242, 246, 82);
/* oklch */ color: oklch(94.2% 0.179 110.8);
Tailwind
colors: {
  custom: {
    50: '#faf88b',
    500: '#f2f652',
    950: '#000000',
  },
}
SCSS
$custom: #f2f652;
$custom-light: #faf88b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f652",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 82
  },
  "hsl": {
    "h": 61.463,
    "s": 90.11,
    "l": 64.314
  },
  "oklch": {
    "l": 0.9417,
    "c": 0.17887,
    "h": 110.8
  },
  "luminance": 0.85398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F652

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

Preview Lab → · Contrast checker → · Palette generator →

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