#F2F792#F2F792

#F2F792 is a very light, vivid yellow. Relative luminance 0.875; OKLCH L 95.1% C 0.124 H 111.0°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#F2F792
RGBrgb(242, 247, 146)
HSLhsl(63, 86%, 77%)
HSVhsv(63, 41%, 97%)
CMYKcmyk(2%, 0%, 40.9%, 3.1%)
CIE-LABlab(94.94, -16.01, 47.89)
CIE-LCHlch(94.94, 50.50, 108.48°)
OKLaboklab(95.08% -0.0445 0.116)
OKLCHoklch(95.08% 0.124 111)
XYZxyz(75.0680, 87.4754, 40.1185)
Luminance0.8747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F792 #9792F7
analogous
#F7C992 #F2F792 #C0F792
triadic
#F2F792 #92F2F7 #F792F2
tetradic
#F2F792 #92F7C9 #9792F7 #F792C0
square
#F2F792 #92F7C9 #9792F7 #F792C0
split-complementary
#F2F792 #92C0F7 #C992F7
monochromatic
#E4EF20 #EBF359 #F2F792 #F9FBCB #FCFDE2

Accessibility & contrast

On white

1.14
#F2F792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#F2F792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F792
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F792#FFFFFF#000000##000000
##F2F7921.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8A
Deuteranopia (green-blind)
#FFF297
Tritanopia (blue-blind)
#FEECDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f792;
/* rgb */ color: rgb(242, 247, 146);
/* oklch */ color: oklch(95.1% 0.124 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f9b3',
    500: '#f2f792',
    950: '#000000',
  },
}
SCSS
$custom: #f2f792;
$custom-light: #f8f9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f792",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 62.97,
    "s": 86.325,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95077,
    "c": 0.12427,
    "h": 111
  },
  "luminance": 0.87474
}

Semantic roles & 50–950 ramp

primary
#F2F792
secondary
#5E58D6
accent
#03E30E
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F792

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

Preview Lab → · Contrast checker → · Palette generator →

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