#F2F568#F2F568

#F2F568 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.2% C 0.162 H 110.3°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#F2F568
RGBrgb(242, 245, 104)
HSLhsl(61, 88%, 68%)
HSVhsv(61, 58%, 96%)
CMYKcmyk(1.2%, 0%, 57.6%, 3.9%)
CIE-LABlab(93.96, -18.66, 65.90)
CIE-LCHlch(93.96, 68.49, 105.81°)
OKLaboklab(94.15% -0.056 0.1517)
OKLCHoklch(94.15% 0.162 110.3)
XYZxyz(71.7710, 85.1833, 25.7553)
Luminance0.8518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F568 #6B68F5
analogous
#F5B268 #F2F568 #ABF568
triadic
#F2F568 #68F2F5 #F568F2
tetradic
#F2F568 #68F5B2 #6B68F5 #F568AB
square
#F2F568 #68F5B2 #6B68F5 #F568AB
split-complementary
#F2F568 #68ABF5 #B268F5
monochromatic
#D0D50E #EDF12F #F2F568 #F7F9A1 #FCFDDB

Accessibility & contrast

On white

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

On black

18.04
#F2F568 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F568
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F568#FFFFFF#000000##000000
##F2F5681.001.1618.0418.04
#FFFFFF1.161.0021.0021.00
#00000018.0421.001.001.00
##00000018.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB58
Deuteranopia (green-blind)
#FFF070
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f568;
/* rgb */ color: rgb(242, 245, 104);
/* oklch */ color: oklch(94.2% 0.162 110.3);
Tailwind
colors: {
  custom: {
    50: '#f9f898',
    500: '#f2f568',
    950: '#000000',
  },
}
SCSS
$custom: #f2f568;
$custom-light: #f9f898;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f568",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 104
  },
  "hsl": {
    "h": 61.277,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.9415,
    "c": 0.16173,
    "h": 110.3
  },
  "luminance": 0.85182
}

Semantic roles & 50–950 ramp

primary
#F2F568
secondary
#3633CE
accent
#01E406
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F568

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

Preview Lab → · Contrast checker → · Palette generator →

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