#F2F657#F2F657

#F2F657 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.2% C 0.176 H 110.7°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#F2F657
RGBrgb(242, 246, 87)
HSLhsl(62, 90%, 65%)
HSVhsv(62, 65%, 96%)
CMYKcmyk(1.6%, 0%, 64.6%, 3.5%)
CIE-LABlab(94.09, -20.22, 72.88)
CIE-LCHlch(94.09, 75.63, 105.50°)
OKLaboklab(94.21% -0.0621 0.1642)
OKLCHoklch(94.21% 0.176 110.7)
XYZxyz(71.2962, 85.4787, 21.7583)
Luminance0.8548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F657 #5B57F6
analogous
#F6AA57 #F2F657 #A3F657
triadic
#F2F657 #57F2F6 #F657F2
tetradic
#F2F657 #57F6AA #5B57F6 #F657A3
square
#F2F657 #57F6AA #5B57F6 #F657A3
split-complementary
#F2F657 #57A3F6 #AA57F6
monochromatic
#C3C80B #EEF31D #F2F657 #F6F991 #FBFCCB

Accessibility & contrast

On white

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

On black

18.10
#F2F657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F657
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F657#FFFFFF#000000##000000
##F2F6571.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC41
Deuteranopia (green-blind)
#FFF062
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f657;
/* rgb */ color: rgb(242, 246, 87);
/* oklch */ color: oklch(94.2% 0.176 110.7);
Tailwind
colors: {
  custom: {
    50: '#faf88e',
    500: '#f2f657',
    950: '#000000',
  },
}
SCSS
$custom: #f2f657;
$custom-light: #faf88e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f657",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 87
  },
  "hsl": {
    "h": 61.509,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.94208,
    "c": 0.17554,
    "h": 110.7
  },
  "luminance": 0.85477
}

Semantic roles & 50–950 ramp

primary
#F2F657
secondary
#312DC4
accent
#00E606
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F657

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

Preview Lab → · Contrast checker → · Palette generator →

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