#F2F15C#F2F15C

#F2F15C is a very light, vivid yellow. Relative luminance 0.826; OKLCH L 93.2% C 0.167 H 108.9°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#F2F15C
RGBrgb(242, 241, 92)
HSLhsl(60, 85%, 65%)
HSVhsv(60, 62%, 95%)
CMYKcmyk(0%, 0.4%, 62%, 5.1%)
CIE-LABlab(92.82, -17.51, 69.61)
CIE-LCHlch(92.82, 71.78, 104.12°)
OKLaboklab(93.21% -0.054 0.158)
OKLCHoklch(93.21% 0.167 108.9)
XYZxyz(70.0072, 82.5625, 22.3715)
Luminance0.8256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F15C #5C5DF2
analogous
#F2A65C #F2F15C #A8F25C
triadic
#F2F15C #5CF2F1 #F15CF2
tetradic
#F2F15C #5CF2A6 #5C5DF2 #F25CA8
square
#F2F15C #5CF2A6 #5C5DF2 #F25CA8
split-complementary
#F2F15C #5CA8F2 #A65CF2
monochromatic
#C4C310 #EDEC23 #F2F15C #F7F695 #FBFBCD

Accessibility & contrast

On white

1.20
#F2F15C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.51
#F2F15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F15C
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F15C#FFFFFF#000000##000000
##F2F15C1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE849
Deuteranopia (green-blind)
#FFED65
Tritanopia (blue-blind)
#FFE3D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f15c;
/* rgb */ color: rgb(242, 241, 92);
/* oklch */ color: oklch(93.2% 0.167 108.9);
Tailwind
colors: {
  custom: {
    50: '#faf591',
    500: '#f2f15c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f15c;
$custom-light: #faf591;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f15c",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 92
  },
  "hsl": {
    "h": 59.6,
    "s": 85.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.93209,
    "c": 0.16697,
    "h": 108.9
  },
  "luminance": 0.82561
}

Semantic roles & 50–950 ramp

primary
#F2F15C
secondary
#3132C1
accent
#05E204
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F15C

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

Preview Lab → · Contrast checker → · Palette generator →

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