#F2F357#F2F357

#F2F357 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.6% C 0.173 H 109.7°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#F2F357
RGBrgb(242, 243, 87)
HSLhsl(60, 87%, 65%)
HSVhsv(60, 64%, 95%)
CMYKcmyk(0.4%, 0%, 64.2%, 4.7%)
CIE-LABlab(93.31, -18.78, 72.07)
CIE-LCHlch(93.31, 74.48, 104.60°)
OKLaboklab(93.58% -0.0581 0.1625)
OKLCHoklch(93.58% 0.173 109.7)
XYZxyz(70.3911, 83.6685, 21.4566)
Luminance0.8367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F357 #5857F3
analogous
#F3A657 #F2F357 #A4F357
triadic
#F2F357 #57F2F3 #F357F2
tetradic
#F2F357 #57F3A6 #5857F3 #F357A4
square
#F2F357 #57F3A6 #5857F3 #F357A4
split-complementary
#F2F357 #57A4F3 #A657F3
monochromatic
#C1C20E #EEEF1E #F2F357 #F6F790 #FBFBC9

Accessibility & contrast

On white

1.18
#F2F357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.73
#F2F357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F357
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F357#FFFFFF#000000##000000
##F2F3571.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE942
Deuteranopia (green-blind)
#FFEE61
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f357;
/* rgb */ color: rgb(242, 243, 87);
/* oklch */ color: oklch(93.6% 0.173 109.7);
Tailwind
colors: {
  custom: {
    50: '#faf68e',
    500: '#f2f357',
    950: '#000000',
  },
}
SCSS
$custom: #f2f357;
$custom-light: #faf68e;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f357",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 87
  },
  "hsl": {
    "h": 60.385,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.93583,
    "c": 0.17254,
    "h": 109.7
  },
  "luminance": 0.83667
}

Semantic roles & 50–950 ramp

primary
#F2F357
secondary
#302FBF
accent
#02E304
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F357

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

Preview Lab → · Contrast checker → · Palette generator →

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