#F2F758#F2F758

#F2F758 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.4% C 0.176 H 111.1°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#F2F758
RGBrgb(242, 247, 88)
HSLhsl(62, 91%, 66%)
HSVhsv(62, 64%, 97%)
CMYKcmyk(2%, 0%, 64.4%, 3.1%)
CIE-LABlab(94.36, -20.64, 72.78)
CIE-LCHlch(94.36, 75.65, 105.83°)
OKLaboklab(94.43% -0.0632 0.1641)
OKLCHoklch(94.43% 0.176 111.1)
XYZxyz(71.6423, 86.1051, 22.0766)
Luminance0.8610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F758 #5D58F7
analogous
#F7AC58 #F2F758 #A2F758
triadic
#F2F758 #58F2F7 #F758F2
tetradic
#F2F758 #58F7AC #5D58F7 #F758A2
square
#F2F758 #58F7AC #5D58F7 #F758A2
split-complementary
#F2F758 #58A2F7 #AC58F7
monochromatic
#C5CB0A #EDF41E #F2F758 #F7FA92 #FBFDCD

Accessibility & contrast

On white

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

On black

18.22
#F2F758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F758
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F758#FFFFFF#000000##000000
##F2F7581.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC42
Deuteranopia (green-blind)
#FFF163
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f758;
/* rgb */ color: rgb(242, 247, 88);
/* oklch */ color: oklch(94.4% 0.176 111.1);
Tailwind
colors: {
  custom: {
    50: '#faf98f',
    500: '#f2f758',
    950: '#000000',
  },
}
SCSS
$custom: #f2f758;
$custom-light: #faf98f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f758",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 88
  },
  "hsl": {
    "h": 61.887,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.94425,
    "c": 0.17585,
    "h": 111.1
  },
  "luminance": 0.86103
}

Semantic roles & 50–950 ramp

primary
#F2F758
secondary
#312CC7
accent
#00E607
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F758

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

Preview Lab → · Contrast checker → · Palette generator →

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