#F2F592#F2F592

#F2F592 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.7% C 0.122 H 110.0°. Best body text is #000000 at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#F2F592
RGBrgb(242, 245, 146)
HSLhsl(62, 83%, 77%)
HSVhsv(62, 40%, 96%)
CMYKcmyk(1.2%, 0%, 40.4%, 3.9%)
CIE-LABlab(94.42, -15.04, 47.25)
CIE-LCHlch(94.42, 49.58, 107.65°)
OKLaboklab(94.67% -0.0417 0.1146)
OKLCHoklch(94.67% 0.122 110)
XYZxyz(74.4597, 86.2588, 39.9157)
Luminance0.8626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F592 #9592F5
analogous
#F5C792 #F2F592 #C1F592
triadic
#F2F592 #92F2F5 #F592F2
tetradic
#F2F592 #92F5C7 #9592F5 #F592C1
square
#F2F592 #92F5C7 #9592F5 #F592C1
split-complementary
#F2F592 #92C1F5 #C792F5
monochromatic
#E5EB22 #EBF05A #F2F592 #F9FACA #FCFCE3

Accessibility & contrast

On white

1.15
#F2F592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.25
#F2F592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F592
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F592#FFFFFF#000000##000000
##F2F5921.001.1518.2518.25
#FFFFFF1.151.0021.0021.00
#00000018.2521.001.001.00
##00000018.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8A
Deuteranopia (green-blind)
#FFF196
Tritanopia (blue-blind)
#FEEADD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f592;
/* rgb */ color: rgb(242, 245, 146);
/* oklch */ color: oklch(94.7% 0.122 110.0);
Tailwind
colors: {
  custom: {
    50: '#f8f8b3',
    500: '#f2f592',
    950: '#000000',
  },
}
SCSS
$custom: #f2f592;
$custom-light: #f8f8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f592",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 146
  },
  "hsl": {
    "h": 61.818,
    "s": 83.193,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94666,
    "c": 0.12192,
    "h": 110
  },
  "luminance": 0.86257
}

Semantic roles & 50–950 ramp

primary
#F2F592
secondary
#5C58D3
accent
#06E00C
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F592

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

Preview Lab → · Contrast checker → · Palette generator →

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