#F2F15E#F2F15E

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

Color values

HEX#F2F15E
RGBrgb(242, 241, 94)
HSLhsl(60, 85%, 66%)
HSVhsv(60, 61%, 95%)
CMYKcmyk(0%, 0.4%, 61.2%, 5.1%)
CIE-LABlab(92.84, -17.39, 68.82)
CIE-LCHlch(92.84, 70.98, 104.18°)
OKLaboklab(93.23% -0.0535 0.1566)
OKLCHoklch(93.23% 0.165 108.9)
XYZxyz(70.0958, 82.5980, 22.8381)
Luminance0.8260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F15E #5E5FF2
analogous
#F2A75E #F2F15E #A9F25E
triadic
#F2F15E #5EF2F1 #F15EF2
tetradic
#F2F15E #5EF2A7 #5E5FF2 #F25EA9
square
#F2F15E #5EF2A7 #5E5FF2 #F25EA9
split-complementary
#F2F15E #5EA9F2 #A75EF2
monochromatic
#C6C410 #EDEC25 #F2F15E #F7F697 #FBFBCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F15E#FFFFFF#000000##000000
##F2F15E1.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)
#FFE84C
Deuteranopia (green-blind)
#FFED67
Tritanopia (blue-blind)
#FFE3D2
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2f15e;
/* rgb */ color: rgb(242, 241, 94);
/* oklch */ color: oklch(93.2% 0.165 108.9);
Tailwind
colors: {
  custom: {
    50: '#f9f592',
    500: '#f2f15e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f15e;
$custom-light: #f9f592;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f15e",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 94
  },
  "hsl": {
    "h": 59.595,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93226,
    "c": 0.16549,
    "h": 108.9
  },
  "luminance": 0.82596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F15E

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

Preview Lab → · Contrast checker → · Palette generator →

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