#F2F15D#F2F15D

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

Color values

HEX#F2F15D
RGBrgb(242, 241, 93)
HSLhsl(60, 85%, 66%)
HSVhsv(60, 62%, 95%)
CMYKcmyk(0%, 0.4%, 61.6%, 5.1%)
CIE-LABlab(92.83, -17.45, 69.22)
CIE-LCHlch(92.83, 71.38, 104.15°)
OKLaboklab(93.22% -0.0537 0.1573)
OKLCHoklch(93.22% 0.166 108.9)
XYZxyz(70.0513, 82.5801, 22.6033)
Luminance0.8258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F15D #5D5EF2
analogous
#F2A65D #F2F15D #A9F25D
triadic
#F2F15D #5DF2F1 #F15DF2
tetradic
#F2F15D #5DF2A6 #5D5EF2 #F25DA9
square
#F2F15D #5DF2A6 #5D5EF2 #F25DA9
split-complementary
#F2F15D #5DA9F2 #A65DF2
monochromatic
#C5C410 #EDEC24 #F2F15D #F7F696 #FBFBCE

Accessibility & contrast

On white

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

On black

17.52
#F2F15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F15D
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F15D#FFFFFF#000000##000000
##F2F15D1.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f15d;
/* rgb */ color: rgb(242, 241, 93);
/* oklch */ color: oklch(93.2% 0.166 108.9);
Tailwind
colors: {
  custom: {
    50: '#faf591',
    500: '#f2f15d',
    950: '#000000',
  },
}
SCSS
$custom: #f2f15d;
$custom-light: #faf591;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f15d",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 93
  },
  "hsl": {
    "h": 59.597,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93217,
    "c": 0.16623,
    "h": 108.9
  },
  "luminance": 0.82578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F15D

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

Preview Lab → · Contrast checker → · Palette generator →

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