#F2F16C#F2F16C

#F2F16C is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.4% C 0.154 H 108.6°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#F2F16C
RGBrgb(242, 241, 108)
HSLhsl(60, 84%, 69%)
HSVhsv(60, 55%, 95%)
CMYKcmyk(0%, 0.4%, 55.4%, 5.1%)
CIE-LABlab(92.96, -16.44, 63.07)
CIE-LCHlch(92.96, 65.17, 104.61°)
OKLaboklab(93.36% -0.0493 0.1461)
OKLCHoklch(93.36% 0.154 108.6)
XYZxyz(70.7820, 82.8724, 26.4518)
Luminance0.8287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F16C #6C6DF2
analogous
#F2AE6C #F2F16C #B0F26C
triadic
#F2F16C #6CF2F1 #F16CF2
tetradic
#F2F16C #6CF2AE #6C6DF2 #F26CB0
square
#F2F16C #6CF2AE #6C6DF2 #F26CB0
split-complementary
#F2F16C #6CB0F2 #AE6CF2
monochromatic
#D1D012 #EDEC34 #F2F16C #F7F6A4 #FCFCDC

Accessibility & contrast

On white

1.19
#F2F16C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#F2F16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F16C
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F16C#FFFFFF#000000##000000
##F2F16C1.001.1917.5717.57
#FFFFFF1.191.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85E
Deuteranopia (green-blind)
#FFED73
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2f16c;
/* rgb */ color: rgb(242, 241, 108);
/* oklch */ color: oklch(93.4% 0.154 108.6);
Tailwind
colors: {
  custom: {
    50: '#f9f59a',
    500: '#f2f16c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f16c;
$custom-light: #f9f59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f16c",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 108
  },
  "hsl": {
    "h": 59.552,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93361,
    "c": 0.15423,
    "h": 108.6
  },
  "luminance": 0.82871
}

Semantic roles & 50–950 ramp

primary
#F2F16C
secondary
#3738CB
accent
#07E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F16C

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

Preview Lab → · Contrast checker → · Palette generator →

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