#F2F16D#F2F16D

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

Color values

HEX#F2F16D
RGBrgb(242, 241, 109)
HSLhsl(60, 84%, 69%)
HSVhsv(60, 55%, 95%)
CMYKcmyk(0%, 0.4%, 55%, 5.1%)
CIE-LABlab(92.97, -16.37, 62.64)
CIE-LCHlch(92.97, 64.74, 104.64°)
OKLaboklab(93.37% -0.049 0.1453)
OKLCHoklch(93.37% 0.153 108.6)
XYZxyz(70.8355, 82.8939, 26.7337)
Luminance0.8289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F16D #6D6EF2
analogous
#F2AF6D #F2F16D #B1F26D
triadic
#F2F16D #6DF2F1 #F16DF2
tetradic
#F2F16D #6DF2AF #6D6EF2 #F26DB1
square
#F2F16D #6DF2AF #6D6EF2 #F26DB1
split-complementary
#F2F16D #6DB1F2 #AF6DF2
monochromatic
#D2D013 #EDEC35 #F2F16D #F7F6A5 #FCFCDD

Accessibility & contrast

On white

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

On black

17.58
#F2F16D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F16D
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F16D#FFFFFF#000000##000000
##F2F16D1.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f16d;
/* rgb */ color: rgb(242, 241, 109);
/* oklch */ color: oklch(93.4% 0.153 108.6);
Tailwind
colors: {
  custom: {
    50: '#f9f59b',
    500: '#f2f16d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f16d;
$custom-light: #f9f59b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f16d",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 109
  },
  "hsl": {
    "h": 59.549,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93371,
    "c": 0.15337,
    "h": 108.6
  },
  "luminance": 0.82892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F16D

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

Preview Lab → · Contrast checker → · Palette generator →

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