#F2F366#F2F366

#F2F366 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.7% C 0.161 H 109.5°. Best body text is #000000 at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#F2F366
RGBrgb(242, 243, 102)
HSLhsl(60, 85%, 68%)
HSVhsv(60, 58%, 95%)
CMYKcmyk(0.4%, 0%, 58%, 4.7%)
CIE-LABlab(93.42, -17.84, 66.15)
CIE-LCHlch(93.42, 68.51, 105.09°)
OKLaboklab(93.72% -0.0539 0.152)
OKLCHoklch(93.72% 0.161 109.5)
XYZxyz(71.0689, 83.9396, 25.0260)
Luminance0.8394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F366 #6766F3
analogous
#F3AE66 #F2F366 #ABF366
triadic
#F2F366 #66F2F3 #F366F2
tetradic
#F2F366 #66F3AE #6766F3 #F366AB
square
#F2F366 #66F3AE #6766F3 #F366AB
split-complementary
#F2F366 #66ABF3 #AE66F3
monochromatic
#CDCE10 #EDEF2D #F2F366 #F7F79F #FCFCD7

Accessibility & contrast

On white

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

On black

17.79
#F2F366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F366
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F366#FFFFFF#000000##000000
##F2F3661.001.1817.7917.79
#FFFFFF1.181.0021.0021.00
#00000017.7921.001.001.00
##00000017.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA56
Deuteranopia (green-blind)
#FFEE6E
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f366;
/* rgb */ color: rgb(242, 243, 102);
/* oklch */ color: oklch(93.7% 0.161 109.5);
Tailwind
colors: {
  custom: {
    50: '#f9f697',
    500: '#f2f366',
    950: '#000000',
  },
}
SCSS
$custom: #f2f366;
$custom-light: #f9f697;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f366",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 102
  },
  "hsl": {
    "h": 60.426,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.93715,
    "c": 0.16127,
    "h": 109.5
  },
  "luminance": 0.83938
}

Semantic roles & 50–950 ramp

primary
#F2F366
secondary
#3433CA
accent
#04E205
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F366

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

Preview Lab → · Contrast checker → · Palette generator →

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